Hi,

On Tue, Oct 06, 2015 at 05:12:27AM +0200, liu wen wrote:
> I'm following the tutorial to learn openvpn(
> http://backreference.org/2010/03/26/tuntap-interface-tutorial/)
> 
> by following the steps of the part: `let's try it`
> I use openvpn to create an interface tun2, and assign an IP to it
> 
>     sudo openvpn --mktun --dev tun
>     sudo ip link set tun2 up
>     sudo ip addr add 10.0.0.1/24 dev tun2

"Don't".  This tutorial is over *5 years* old.

Normally there never is the need to do the "ip addr" stuff manually - just
tell openvpn what you want and let openvpn do the right stuff for your
system.

gert

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

Attachment: signature.asc
Description: PGP signature

------------------------------------------------------------------------------
_______________________________________________
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to