I am using OpenVPN to establish a control channel to a RaspberryPi, which can be connected using eth0, wlan0 or usb0 network devices.
The usb0 device is a mobile broadband modem connecting to the AT&T mobile network. I have the OpenVPN set up such that it runs a client connection to a server at boot and it stays connected 24/7. The connection is a blind tunnel, no routing is done on the server side but the client-to-client option is enabled. This makes it possible to connect to the same OVPN server from say my Windows machine and then use SSH to the RPi unit via the tunnel using its tunnel IP address. Now I am wondering what happens when the RPi is connected by eth0 when it boots up and presumably then the OVPN tunnel connects through eth0. If eth0 then loses its connection to the Internet but the usb0 is still running and connected but at a higher metric than eth0, what happens? Will OpenVPN see the lost connection and try to reconnect through the ub0 instead? Or does it see that eth0 is still electrically connected (to the router) so it remains on that and fails the connection? The loss of connection on eth0 may be because of 1) an ISP failure which disconnects Internet from the incoming router 2) or it may be because the Ethernet network cable is pulled out Will OVPN try to find another interface that has internet connection in order to re-establish the tunnel or is all lost? -- Bo Berglund Developer in Sweden _______________________________________________ Openvpn-users mailing list Openvpn-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-users