Hello everyone,
In a Linux machine (ubunut 22.04) I connect successfully to a vpngate server using SE vpnclient (using this guide https://gist.github.com/Aschen/93af73ff49980636320d )
I acquire an ip address from the vpngate server (e.g. 10.211.1.52/16) BUT PING 10.211.254.254 FAILS (i.e. can not ping local vpn interface GW). Thus I can not forward and connect to internet via the vpn!!!???
Notes)
1- my firewall is disabled and allows all in/out traffic
2- Connecting to the very same vpngate server from a windows client connects successfully and pinging the local vpn interface gw (10.211.254.254) is SUCCESSFUL and can surf the web via the vpn OK.
Here are some outputs:
$ ip -br -c a
lo UNKNOWN 127.0.0.1/8 ::1/128
ens33 UP 172.16.215.133/24 fe80::94cf:234d:f32b:d7c/64
vpn_vpn1 UNKNOWN 10.211.1.52/16 fe80::5cad:c6ff:feb7:f19f/64
(YOU MIGHT HAVE NOTICED THE "UNKNOWN" status of the vpn1 interface)
$ ip route
default via 10.211.254.254 dev vpn_vpn1
default via 172.16.215.2 dev ens33 proto dhcp metric 100
10.211.0.0/16 dev vpn_vpn1 proto kernel scope link src 10.211.1.52
169.254.0.0/16 dev ens33 scope link metric 1000
172.16.215.0/24 dev ens33 proto kernel scope link src 172.16.215.133 metric 100
ANY HELP IS HIGHLY APPRECIATED.
Thanks all in advance
unable to ping vpngate local interface gateway in Linux
-
- Posts: 4
- Joined: Sun May 18, 2025 3:07 pm
-
- Posts: 1673
- Joined: Sun Feb 14, 2021 10:31 am
Re: unable to ping vpngate local interface gateway in Linux
Your routing table is incorrect. Follow these routing instructions viewtopic.php?f=7&t=68335&p=99223#p99223 and viewtopic.php?f=7&t=68894&p=101124#p101124