I've got a VPN tunnel (ipsec / StrongSwan) setup, connected. The other side is apparently able to ping me through the tunnel. However a ping from my side is said to be never received on the other side. The other side (that I cannot control) is thus assuming it's a configuration issue from my side.
I'm really not sure about this, because I can see the ping packets going out when tcpdumping:
$ ping -c 5 192.168.33.1
PING 192.168.33.1 (192.168.33.1) 56(84) bytes of data.
--- 192.168.33.1 ping statistics ---
5 packets transmitted, 0 received, 100% packet loss, time 4009ms
(at the same time in another console)
$ tcpdump host REMOTE
09:22:07.539582 IP OURS > REMOTE: ESP(spi=0xXXXXXX,seq=0x3), length 132
09:22:08.547608 IP OURS > REMOTE: ESP(spi=0xXXXXXX,seq=0x4), length 132
(... one packet per ping ...)
The ESP traffic is obviously my ping. To make sure I've disabled all firewalling from my side.
Thus my question: How can I make sure the ping packets are going out and received? What can be the cause and what can I do more to help debug the issue?
As a side note, I've got another VPN setup and working, using the exact same configuration.
Some infos on the tunnel:
$ ipsec statusall chtunnel
Security Associations (2 up, 0 connecting):
chtunnel[377]: ESTABLISHED 5 minutes ago, OURS[OURS]...REMOTE[REMOTE]
chtunnel[377]: IKEv1 SPIs: xxxxxxx_i* xxxxxxxxxx_r, pre-shared key reauthentication in 39 minutes
chtunnel[377]: IKE proposal: AES_CBC_256/HMAC_SHA1_96/PRF_HMAC_SHA1/MODP_1024
chtunnel{442}: INSTALLED, TUNNEL, reqid 45, ESP SPIs: xxxxxx_i xxxxxx_o
chtunnel{442}: AES_CBC_256/HMAC_SHA1_96/MODP_1024, 0 bytes_i, 756 bytes_o (9 pkts, 22s ago), rekeying in 26 minutes
chtunnel{442}: 192.168.32.1/32 === 192.168.33.0/24
The stats 756 bytes_o (9 pkts, 22s ago)
do indeed increase (one packet per ping) when I send the pings.