Replies: 1 comment 16 replies
-
What kind of client?
What does that mean?
Please post the complete output (preferably of
strongSwan usually installs routes in table 220 for established CHILD_SAs. If not, check the log.
|
Beta Was this translation helpful? Give feedback.
-
I'm facing an issue with a client that I set up a StrongSwan VPN with. The client cannot ping my server when the tunnel is up. Also, the client has pings disabled on their subnet.
My server has 2 VPNs running (one setup with IKEv1 which works fine and the other VPN which I'm currently facing an issue).
See below ifconfig setup:
eth0:1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.108.40 netmask 255.255.255.248 broadcast 192.168.108.47
ether 16:a7:4d:68:fa:2f txqueuelen 1000 (Ethernet)
VPN tunnel is up:
sudo ipsec status
Security Associations (2 up, 0 connecting):
vpn-deleted[52]: ESTABLISHED 77 seconds ago
$ sudo ip route show
192.168.108.40/29 dev eth0 proto kernel scope link src 192.168.108.40
iptables -L output
:ACCEPT all -- 10.240.209.128/29 admin-2/29 policy match dir in pol ipsec reqid 8 proto esp
ACCEPT all -- admin-2/29 10.240.209.128/29 policy match dir out pol ipsec reqid 8 proto esp
ACCEPT icmp -- anywhere anywhere icmp echo-request
The CX is pinging from 10.240.209.129 to 192.168.108.41 and getting no response.
tcpdump -i eth0
shows me my home IP ssh'ing on to the server.conn vpn-test
type=tunnel
auto=start
keyexchange=ikev2
authby=secret
left=serverpublicp
leftsubnet=192.168.108.40/29
leftid=10.131.112.99
leftfirewall=yes
right=clientpublicip
rightsubnet=10.240.209.128/29
rightfirewall=yes
ike=aes256-sha512-modp2048,aes256-sha384-modp2048,aes256-sha256-modp2048,aes256-sha-modp2048!
esp=aes256-sha512-modp2048,aes256-sha384-modp2048,aes256-sha256-modp2048,aes256-sha1-modp2048!
dpdaction=restart
ikelifetime=86400s
lifetime=3600s
dpddelay=20s
dpdtimeout=60s
What has been missed in the config/setup to cause the remote host not to be able to ping my eth0:1 subnet?
Beta Was this translation helpful? Give feedback.
All reactions