You are not logged in.

#1 2014-11-30 18:09:35

Thomas_Do
Member
Registered: 2011-08-12
Posts: 65

No route to openvpn server when using networkmanager and wireless

Since some weeks I can not connect to openvpn networks via WIFI when using the networkmanager. Connecting manually there is no problem.
When I connect my laptop via LAN (enp0s25) and establish an openvpn connection everything works as expected:

[me@laptop ~]$ ip route show
default via 10.101.2.173 dev tun0  proto static  metric 1024 
10.101.2.173 dev tun0  proto kernel  scope link  src 10.101.2.174 
172.17.2.0/24 dev enp0s25  proto kernel  scope link  src 172.17.2.25 
172.17.2.0/24 dev enp0s25  proto kernel  scope link  src 172.17.2.25  metric 203 
xxx.xx.xx.xxx via 172.17.2.1 dev enp0s25  proto static  metric 1 

When connecting to the internet via WIFI (wlp3s0) the VPN connection is established but there is no route to the VPN server:

[me@laptop~]$ ip route show
default via 10.101.2.173 dev tun0  proto static  metric 1024 
10.101.2.173 dev tun0  proto kernel  scope link  src 10.101.2.174 
172.17.2.0/24 dev wlp3s0  proto kernel  scope link  src 172.17.2.38 

When I add the route manually everything works fine:

ip route add xxx.xx.xx.xxx via 172.17.2.1 dev wlp3s0  proto static  metric 1   

Any ideas?

Offline

Board footer

Powered by FluxBB