You are not logged in.

#1 2015-07-21 13:37:37

ezzetabi
Member
Registered: 2006-08-27
Posts: 947

NetworkManager add automatically routes for the ethernet card

I usually use a VPN when browsing, but some addresses (in my case 10.x.x.x) cannot be reached from the VPN server. Besides some DNS addresses cannot be solved by the DNS server setup by the VPN.

However, both this problems can be solved:
The first executing, as root, this command:

ip route add  10.0.0.0/8 via 10.10.175.254 dev enp0s20u3u7

The second, using the internal dns server.


My question is mainly about the first point: it is possible to setup NetworkManager so it adds that route automatically on successful connection to the VPN?

Offline

Board footer

Powered by FluxBB