Hello,
I have a firewall with OpenBSD 4.4 with four clients, tun0, tun1, and tun2 tun3. I now have a new branch and try to set up or tun4 tun5 on I returns the error "Can not open TUN / TAP dev / dev/tun4: No such file or directory (errno = 2)."
There is a limit to the OpenVPN TUN or OpenBSD?
Log Client (Verb 6).
Thu Jan 19 12:08:59 2012 us=26439 /sbin/ifconfig tun4 destroy
Thu Jan 19 12:08:59 2012 us=29620 /sbin/ifconfig tun4 create
Thu Jan 19 12:08:59 2012 us=33297 NOTE: Tried to delete pre-existing tun/tap instance -- No Problem if failure
Thu Jan 19 12:08:59 2012 us=33371 /sbin/ifconfig tun4 10.8.0.6 10.8.0.5 mtu 1500 netmask 255.255.255.255 up
Thu Jan 19 12:08:59 2012 us=36347 Cannot open TUN/TAP dev /dev/tun4: No such file or directory (errno=2)
Thu Jan 19 12:08:59 2012 us=36408 Exiting
I'm from Brazil! Sorry my bad English (google translate);-)
Error using tun4
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
-
- OpenVpn Newbie
- Posts: 5
- Joined: Fri Jan 20, 2012 8:33 am
Re: Error using tun4
Looks like you need to create this tun4 before you can use it.
In Linux, the command looks like this:
In Linux, the command looks like this:
Code: Select all
mknod /dev/tun4 c 10 200