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 :-)
> 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.
>
> When the device is up/ in-using, both the `ip link' and the `ifconfig
> ' will list this device.
>
> Why this happen?
I can't answer this one - "ifconfig" has always been a strange beast,
and I prefer to use "ip" for everything on linux...
gert
--
USENET is *not* the non-clickable part of WWW!
//www.muc.de/~gert/
Gert Doering - Munich, Germany [email protected]
fax: +49-89-35655025 [email protected]
signature.asc
Description: PGP signature
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________ Openvpn-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openvpn-users
