Hello,
I can't find answer to the /dev/tun usage - situation:
- In the host I don't use /dev/tun
- In the jail I have (the only one I consider relevant) cloned_interfaces="tun"
- When I restart the jail the /dev/tunX gets increased, like X++
- It doesn't help even to clean up manually like
This results in:
- Increasing /dev/tun* files; already after a few restarts, I have like 20 of them
- I can't configure stuff like openvpn correctly, as the
I've spent a few days struggling with this and can't find out how FreeBSD (am running 10.3 under my jail, host is FreeNAS 9.10 - but it seems to be a FreeBSD general question, plus I didn't get any answers there) is managing the "tun" interface cloning (I guess it comes from cloning in the rc.conf, as no startup script is running talking to the /dev/tun AFAIK).
Thx a lot,
Andrej
I can't find answer to the /dev/tun usage - situation:
- In the host I don't use /dev/tun
- In the jail I have (the only one I consider relevant) cloned_interfaces="tun"
- When I restart the jail the /dev/tunX gets increased, like X++
- It doesn't help even to clean up manually like
ifconfig tun19 destroy
and remove all the devs rm /dev/tun*
: after jail restart, the tun20 is created :-oThis results in:
- Increasing /dev/tun* files; already after a few restarts, I have like 20 of them
- I can't configure stuff like openvpn correctly, as the
dev tunX
has to match to the /dev/tunXI've spent a few days struggling with this and can't find out how FreeBSD (am running 10.3 under my jail, host is FreeNAS 9.10 - but it seems to be a FreeBSD general question, plus I didn't get any answers there) is managing the "tun" interface cloning (I guess it comes from cloning in the rc.conf, as no startup script is running talking to the /dev/tun AFAIK).
Thx a lot,
Andrej