On Wed, Mar 23, 2011 at 12:30 PM, Jochen Schulz <m...@well-adjusted.de> wrote:
> Kaushal Shriyan: > > > > is there a way to automatically restart the OpenVPN session while i > switch > > to and fro from Wireless to Wired Network on Debian Squeeze ? > > Do you use network-manager? > > If not: you can add lines for OpenVPN to your entries for wired and > wireless networks in /etc/network/interfaces: > > iface eth0 inet dhcp > openvpn <vpnname> > > > iface wlan0 inet dhcp > openvpn <vpnname> > > Given <vpnname>, OpenVPN will use the config file > /etc/openvpn/<vpnname>.conf. > > J. > Hi Jochen, I have multiple VPN Configs. is the below setting correct ? iface eth0 inet dhcp openvpn <vpnname1> <vpnname2> <vpnname3> iface wlan0 inet dhcp openvpn <vpnname1> <vpnname2> <vpnname3> > -- > Thanks Kaushal > Driving behind lorries carrying hazardous chemicals makes me wish for a > simpler life. > [Agree] [Disagree] > <http://www.slowlydownward.com/NODATA/data_enter2.html> > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.10 (GNU/Linux) > > iEYEARECAAYFAk2JmowACgkQ+AfZydWK2zmLrQCdFNYKgYIX73w4Jdv7jVa9G5GO > 84QAnjH3jpsUNBiHAJFjhJaoToPrJ2fj > =5+b7 > -----END PGP SIGNATURE----- > >