Hi, Mike. On Sunday, 16 January 2011 09:59:30 -0800, Mike Bird wrote: > > I'm using OpenVPN to connect two departments with a central > > department. For this I'm using routing. In the central department I > > have an OpenVPN server which is using the /dev/net/tun1 and > > /dev/net/tun2 devices that I've created manually. > > > > Debian only creates a /dev/net/tun device. How I can achieve that on > > boot these devices to be created? I had thought of adding lines to > > create in /etc/rc.local, but there may be a more appropriate way to > > do it. > /dev/net/tun is all you need. > > In your various OpenVpn config files just specify "dev tun5" or > whatever. > > "tun5" and friends will appear by magic when needed in /sys/class/net > (but not in /dev where they are not needed). Perfect! Thanks for the explanation! I had manually created these on /dev/net and then I used in the config files something like this: dev-node /dev/net/tun2 Thanks for your reply. Regards, Daniel -- Daniel Bareiro - System Administrator Fingerprint: BFB3 08D6 B4D1 31B2 72B9 29CE 6696 BF1B 14E6 1D37 Powered by Debian GNU/Linux Lenny - Linux user #188.598
Attachment:
signature.asc
Description: Digital signature