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...


USENET is *not* the non-clickable part of WWW!
Gert Doering - Munich, Germany                             g...@greenie.muc.de
fax: +49-89-35655025                        g...@net.informatik.tu-muenchen.de

Attachment: 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

Reply via email to