Connected: Can ping client's VPN address but not client-side LAN
Posted: Wed Oct 13, 2021 6:39 pm
I can ping the client's VPN address (172.16.1.2) but not client-side LAN (192.168.3.1) from behind the server. What is curious is that from behind the client I can ping the server-side LAN (192.168.2.1) and anything behind the server. Both the server and client are routers that are behind the internet. I am certain this is due to incorrect routing tables, but I can't for the life of me figure out what is wrong.
Code: Select all
Server routing table:
Destination ||| Gateway ||| Interface
0.0.0.0/0 ||| 172.16.66.1 ||| eth0
0.0.0.0/24 ||| 0.0.0.0 ||| vtun0
127.0.0.0/8 ||| 0.0.0.0 ||| lo
172.16.1.0/24 ||| 0.0.0.0 ||| vtun0
172.16.66.0/24 ||| 0.0.0.0 ||| eth0
192.168.2.0/24 ||| 0.0.0.0 ||| switch0
192.168.3.0/24 ||| 172.16.1.2 ||| vtun0
Code: Select all
Client routing table:
Destination ||| Gateway ||| Interface
0.0.0.0 ||| OMIT PUBLIC IP ||| eth0
172.16.1.0/24 ||| 0.0.0.0 ||| vtun0
192.168.2.0/24 ||| 172.16.1.1 ||| vtun0
192.168.3.0/24 ||| 0.0.0.0 ||| switch0