Cannot ping interface IP from AWS VPN
Hi, all.
I cannot ping a local interface IP on the Fortigate from a AWS host, connected through a VPN tunnel. I can ping the interface using a dial-up (FortiClient). It goes like this:
From PC connected through FortiClient (IP is 10.10.1.2):
Pinging 192.168.4.1 with 32 bytes of data:
Reply from 192.168.4.1: bytes=32 time=1ms TTL=255
Reply from 192.168.4.1: bytes=32 time=1ms TTL=255
Reply from 192.168.4.1: bytes=32 time=1ms TTL=255
From linux host in AWS:
PING 192.168.4.1 (192.168.4.1) 56(84) bytes of data.
(zzzzz)
--- 192.168.4.1 ping statistics ---
22 packets transmitted, 0 received, 100% packet loss, time 21481ms
To a host on the interface subnet, from linux host in AWS:
PING 192.168.4.13 (192.168.4.13) 56(84) bytes of data.
64 bytes from 192.168.4.13: icmp_seq=1 ttl=127 time=21.1 ms
64 bytes from 192.168.4.13: icmp_seq=2 ttl=127 time=21.2 ms
On the Fortigate, a trace shows
Packet Trace #2004,2024/12/04 08:57:54,"vd-root:0 received a packet(proto=1, 172.31.32.14:53603->192.168.4.1:2048) tun_id=18.193.132.24 from vpn-0d40f99b. type=8, code=0, id=53603, seq=3." Packet Trace #2004,2024/12/04 08:57:54,"Find an existing session, id-232fd712, original direction" Packet Trace #2005,2024/12/04 08:57:55,"vd-root:0 received a packet(proto=1, 172.31.32.14:53603->192.168.4.1:2048) tun_id=18.193.132.24 from vpn-0d40f99b. type=8, code=0, id=53603, seq=4." Packet Trace #2005,2024/12/04 08:57:55,"Find an existing session, id-232fd712, original direction" Packet Trace #2006,2024/12/04 08:57:56,"vd-root:0 received a packet(proto=1, 172.31.32.14:53603->192.168.4.1:2048) tun_id=18.193.132.24 from vpn-0d40f99b. type=8, code=0, id=53603, seq=5." Packet Trace #2006,2024/12/04 08:57:56,"Find an existing session, id-232fd712, original direction" Packet Trace #2007,2024/12/04 08:57:57,"vd-root:0 received a packet(proto=1, 172.31.32.14:53603->192.168.4.1:2048) tun_id=18.193.132.24 from vpn-0d40f99b. type=8, code=0, id=53603, seq=6." Packet Trace #2007,2024/12/04 08:57:57,"Find an existing session, id-232fd712, original direction"
And the interface configuration:
edit "lan" set vdom "root" set ip 192.168.4.1 255.255.255.0 set allowaccess ping https ssh snmp fabric set alias "office lan" set device-identification enable set role lan set snmp-index 11 set interface "fortilink" set vlanid 2000 next
Any tips on why it doesn't work from the AWS VPN-tunnel?
Cheers,
Chocolate Eater
