Connection to other machine via VPN doesn’t work?

For example yoy have IP, your net mask is

You are connected to VPN, hosts there have  IP adresses 10.64.x.x

Connect to machine that have problem with connect to hosts via VPN.

Check routing table.

netstat -rn

Kernel IP routing table

Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface         UG        0 0          0 enp2s0     U         0 0          0 enp2s0       U         0 0          0 enp2s0   U         0 0          0 virbr0

Two almost the same routing path, but one with netmask

Del this routing path with command:

sudo route del -net netmask

And works.

If not, check rules on your router. If you have multiple WAN, and you set default gateway for this host it can be problem.

Kategoria: Bez kategorii

Możliwość komentowania została wyłączona.