We have moved to a new Sailfish OS Forum. Please start new discussions there.
1 | initial version | posted 2017-10-15 15:25:38 +0200 |
Using an OpenVPN connection from Settings -> VPN does not set the default route via the VPN to route all traffic through the VPN connection. The connection is successfully initiated, but the default route is not touched.
[root@Sailfish nemo]# ip r
default via 192.168.25.1 dev wlan0
80.254.77.XX dev vpn0 scope link
80.254.79.YY via 192.168.25.1 dev wlan0
80.254.79.ZZ dev vpn0 scope link
93.94.246.0/25 dev vpn0 proto kernel scope link src 93.94.246.XXX
192.168.25.0/24 dev wlan0 proto kernel scope link src 192.168.25.AAA
192.168.25.1 dev wlan0 scope link
The default route still goes via the WLAN connections default router.
Without VPN connected the routing table looks like this:
[root@Sailfish nemo]# ip r
default via 192.168.25.1 dev wlan0
192.168.25.0/24 dev wlan0 proto kernel scope link src 192.168.25.189
192.168.25.1 dev wlan0 scope link
What do I have to do that all connections are routed through OpenVPN?
2 | retagged |
Using an OpenVPN connection from Settings -> VPN does not set the default route via the VPN to route all traffic through the VPN connection. The connection is successfully initiated, but the default route is not touched.
[root@Sailfish nemo]# ip r
default via 192.168.25.1 dev wlan0
80.254.77.XX dev vpn0 scope link
80.254.79.YY via 192.168.25.1 dev wlan0
80.254.79.ZZ dev vpn0 scope link
93.94.246.0/25 dev vpn0 proto kernel scope link src 93.94.246.XXX
192.168.25.0/24 dev wlan0 proto kernel scope link src 192.168.25.AAA
192.168.25.1 dev wlan0 scope link
The default route still goes via the WLAN connections default router.
Without VPN connected the routing table looks like this:
[root@Sailfish nemo]# ip r
default via 192.168.25.1 dev wlan0
192.168.25.0/24 dev wlan0 proto kernel scope link src 192.168.25.189
192.168.25.1 dev wlan0 scope link
What do I have to do that all connections are routed through OpenVPN?
3 | No.3 Revision |
Using an OpenVPN connection from Settings -> VPN does not set the default route via the VPN to route all traffic through the VPN connection. The connection is successfully initiated, but the default route is not touched.
[root@Sailfish nemo]# ip r
default via 192.168.25.1 dev wlan0
80.254.77.XX dev vpn0 scope link
80.254.79.YY via 192.168.25.1 dev wlan0
80.254.79.ZZ dev vpn0 scope link
93.94.246.0/25 dev vpn0 proto kernel scope link src 93.94.246.XXX
192.168.25.0/24 dev wlan0 proto kernel scope link src 192.168.25.AAA
192.168.25.1 dev wlan0 scope link
The default route still goes via the WLAN connections default router.
Without VPN connected the routing table looks like this:
[root@Sailfish nemo]# ip r
default via 192.168.25.1 dev wlan0
192.168.25.0/24 dev wlan0 proto kernel scope link src 192.168.25.189
192.168.25.1 dev wlan0 scope link
What do I have to do that all connections are routed through OpenVPN?