nm-l2tp / NetworkManager-l2tp

L2TP and L2TP/IPsec support for NetworkManager
GNU General Public License v2.0
486 stars 84 forks source link

problem after connect (no internet access) #102

Closed bitpaydotir closed 5 years ago

bitpaydotir commented 5 years ago

i successfully connected via nm but i have a problem when connected to vpn, there was no internet access i marked:

Use this connection only for resources on its network

but i cant ping local IP such as 10.10.x.x please help

dkosovic commented 5 years ago

Sounds like you are missing the necessary entries in the routing table.

In the IPv4 section of the VPN connection you can add static routes.

Alternatively have a look at the /etc/ppp/ip-up.d/01-routes.sh example at end of issue #75.

Alternatively if you are able to configure the VPN server's DHCP, you can use DHCP option 121 (or maybe even option 33) to push the routes to the VPN clients, assuming on the linux clients dhclient is configured correctly by either yourself or your linux distro.

dkosovic commented 5 years ago

Sorry I wasn't of much help, routing related issues can be a pain to diagnose.

If you need to re-open, just replay.

I'm just doing some bookkeeping and closing issues.