Re: [Openvpn-users] Can I preserve the tun device from being deleted on the client side after the connection was closed or the server side is unavailable?

2016-10-16 Thread Hongyi Zhao
2016-10-17 3:27 GMT+08:00 David Sommerseth : > On 15/10/16 15:34, Gert Doering wrote: >> Hi, >> >> On Sat, Oct 15, 2016 at 08:47:38PM +0800, Hongyi Zhao wrote: > Can I preserve the tun device from being deleted on the client side after > the connection was closed or the server side is unava

Re: [Openvpn-users] Can I preserve the tun device from being deleted on the client side after the connection was closed or the server side is unavailable?

2016-10-16 Thread Hongyi Zhao
2016-10-16 23:08 GMT+08:00 Selva Nair : > > On Sun, Oct 16, 2016 at 9:45 AM, Hongyi Zhao wrote: >> >> >> But I find another issue: when the vpn connection is down on this >> device, the tun device created by the above method can only be listed >> by using `ip link' command, while the `ifconfig ' w

Re: [Openvpn-users] Can I preserve the tun device from being deleted on the client side after the connection was closed or the server side is unavailable?

2016-10-16 Thread David Sommerseth
On 15/10/16 15:34, Gert Doering wrote: > Hi, > > On Sat, Oct 15, 2016 at 08:47:38PM +0800, Hongyi Zhao wrote: Can I preserve the tun device from being deleted on the client side after the connection was closed or the server side is unavailable? >>> >>> Depends on the operating system use

Re: [Openvpn-users] Can I preserve the tun device from being deleted on the client side after the connection was closed or the server side is unavailable?

2016-10-16 Thread Selva Nair
On Sun, Oct 16, 2016 at 9:45 AM, Hongyi Zhao wrote: > > But I find another issue: when the vpn connection is down on this > device, the tun device created by the above method can only be listed > by using `ip link' command, while the `ifconfig ' will not list this > device. ifconfig needs -a to

Re: [Openvpn-users] Can I preserve the tun device from being deleted on the client side after the connection was closed or the server side is unavailable?

2016-10-16 Thread Gert Doering
Hi, On Sun, Oct 16, 2016 at 09:45:38PM +0800, Hongyi Zhao wrote: > > precreate: > > > > $ openvpn --mktun tun4 > > I tried it, it seems the command should be something as follows: > > $ sudo openvpn --mktun --dev tun4 Apologies - yes, that's the correct way. > Thanks, it does the trick. Good

Re: [Openvpn-users] Can I preserve the tun device from being deleted on the client side after the connection was closed or the server side is unavailable?

2016-10-16 Thread Hongyi Zhao
2016-10-15 21:34 GMT+08:00 Gert Doering : > Hi, > > On Sat, Oct 15, 2016 at 08:47:38PM +0800, Hongyi Zhao wrote: >> >> Can I preserve the tun device from being deleted on the client side after >> >> the connection was closed or the server side is unavailable? >> > >> > Depends on the operating syst

Re: [Openvpn-users] Can I preserve the tun device from being deleted on the client side after the connection was closed or the server side is unavailable?

2016-10-15 Thread Gert Doering
Hi, On Sat, Oct 15, 2016 at 08:47:38PM +0800, Hongyi Zhao wrote: > >> Can I preserve the tun device from being deleted on the client side after > >> the connection was closed or the server side is unavailable? > > > > Depends on the operating system used, but generally yes. > > I use Debian and a

Re: [Openvpn-users] Can I preserve the tun device from being deleted on the client side after the connection was closed or the server side is unavailable?

2016-10-15 Thread Hongyi Zhao
2016-10-15 19:58 GMT+08:00 Gert Doering : > Hi, > > On Sat, Oct 15, 2016 at 06:55:57PM +0800, Hongyi Zhao wrote: >> Can I preserve the tun device from being deleted on the client side after >> the connection was closed or the server side is unavailable? > > Depends on the operating system used, but

Re: [Openvpn-users] Can I preserve the tun device from being deleted on the client side after the connection was closed or the server side is unavailable?

2016-10-15 Thread Gert Doering
Hi, On Sat, Oct 15, 2016 at 06:55:57PM +0800, Hongyi Zhao wrote: > Can I preserve the tun device from being deleted on the client side after > the connection was closed or the server side is unavailable? Depends on the operating system used, but generally yes. gert -- USENET is *not* the non-cl