|
|
Markus Wenke <M.Wenke@xxxxxx> said: > Hi, > > I have on basically Question: > > I have a linux system, and I want to install openVPN(tap) on it. > - this is my modules.conf: > ---------------- > alias char-major-10-200 tun > ---------------- > - I created /dev/net/tun > mknod /dev/net/tun c 10 200 > - I do a "insmod tun" > > how does ifconfig knows that it must use the module tun as device for tap0 ? > (openvpn makes a "ifconfig tap0......." in the tap.up-script) > I have no /dev/tap[0-9] On Linux 2.4, OpenVPN opens /dev/net/tun (for either tun or tap) then ioctls it to be something like tun0 or tap4. So only /dev/net/tun needs to refer to the tun module which handles both tun and tap virtual interfaces. At this point the tun/tap device symbol will show up in the ifconfig list. See tun.c in the OpenVPN source for more info. James ____________________________________________ Openvpn-users mailing list Openvpn-users@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/openvpn-users |