Hi,
I need to connect my SMS with several gateways through an IPSEC VPN because the gateway are behind a third party firewall that act as VPN manager.
The scenario is:
Gateway A directly connected to SMS via LAN
Gateway A established an IPSEC (in a star topology in which the gateway A is the centre) connection with several VPN equipments of the customer that is directly connected to Checkpoint Gateways in the customer premises.
The IPSEC VPN work fine for all traffic (from the LAN connected to Gateway A is possible to reach all the nets configured in the VPN encryption domain of all the sites) but not for the management traffic (FW1, CPD, CPD_amon....) that is no admitted in VPN.
i.e. if I try to install the policies on a remote gateway, I have the error "Installation failed. Reason: TCP connectivity failure [port = 18191] [IP = xx.xx.xx.xx][error no. 10]" and looking at the traffic in the gateway with tcpdump or zdebug I can see that the gateway send ARP packets (with the IP address of the interface with the default gateway on) to resolve the IP xx.xx.xx.xx instead to put the traffic into the VPN tunnel that has xx.xx.xx.xx in the domain.
The following trace are:
zdebug of telnet from SMS to gateway on port 18192 in which you can see the ARP packet at the end of the sequence
@;94761243;[kern];[tid_0];[fw4_0];Physical dump for fwlinux_nfipin: packet ffff88027279cbc0 device bond0.200
<SMS IP> -> xx.xx.xx.xx TCP 53389->18192 (SYN), seq = 769166369, ack = 0;
--
@;94761243;[kern];[tid_0];[fw4_0];Physical dump for fwkdrv_enqueue_packet_user_ex: packet ffff88027279cbc0 device bond0.200
<SMS IP> -> xx.xx.xx.xx TCP 53389->18192 (SYN), seq = 769166369, ack = 0;
@;42775668;[vs_0];[tid_0];[fw4_0];Physical dump for fwuser_prepare_packet_ex: packet 0x7fc752881a20 device bond0.200
<SMS IP> -> xx.xx.xx.xx TCP 53389->18192 (SYN), seq = 769166369, ack = 0;
--
@;42775668;[vs_0];[tid_0];[fw4_0];fw_filter_locked: fwha_filter returned 2;
@;42775668;[vs_0];[tid_0];[fw4_0];<==fwzone_set_zones (inbound) src[<SMS IP>] inzone[External] dst[xx.xx.xx.xx2] outzone[Internal];
--
@;94761243;[kern];[tid_3];[fw4_0];Physical dump for fwkdrv_handle_packet: packet ffff88027279cbc0 device bond0.200
<SMS IP> -> xx.xx.xx.xx TCP 53389->18192 (SYN), seq = 769166369, ack = 0;
--
@;94761243;[kern];[tid_0];[fw4_0];Physical dump for fwlinux_nfarpout: packet ffff8802736f1280 device bond0.3000
ARP defGatewayItfIP -> xx.xx.xx.xx;
zdebug of telnet from SMS to the same gateway on port 18193, the packet is sent in IPSEC tunnel
@;94814970;[kern];[tid_0];[fw4_0];Physical dump for fwlinux_nfipin: packet ffff8802578309c0 device bond0.200
<SMS IP> -> xx.xx.xx.xx TCP 58770->18193 (SYN), seq = 3503414765, ack = 0;
@;94814970;[kern];[tid_0];[fw4_0];Physical dump for fwkdrv_enqueue_packet_user_ex: packet ffff8802578309c0 device bond0.200
<SMS IP> -> xx.xx.xx.xx TCP 58770->18193 (SYN), seq = 3503414765, ack = 0;
@;42800008;[vs_0];[tid_0];[fw4_0];Physical dump for fwuser_prepare_packet_ex: packet 0x7fc752882aa8 device bond0.200
<SMS IP> -> xx.xx.xx.xx TCP 58770->18193 (SYN), seq = 3503414765, ack = 0;
--
@;42800008;[vs_0];[tid_0];[fw4_0];fw_filter_locked: fwha_filter returned 2;
@;42800008;[vs_0];[tid_0];[fw4_0];<==fwzone_set_zones (inbound) src[<SMS IP>] inzone[External] dst[xx.xx.xx.xx] outzone[Internal];
--
@;94814970;[kern];[tid_3];[fw4_0];Physical dump for fwkdrv_handle_packet: packet ffff8802578309c0 device bond0.200
<SMS IP> -> xx.xx.xx.xx TCP 58770->18193 (SYN), seq = 3503414765, ack = 0;
The gateways are running Gaia R81.10.
Anyone can help me?
Regards
Andrea