I am trying to get OpenVPN working in tap - bridge mode in an Iocage jail.
However, creating the tap device fails. When the server is rebooted, 256 tap devices are created, tap0 - tap255. They do not get any connection, though. When the jail is restarted, tap devices are not created at all.
This is what happens:
[jussi@OpenVPN ~]$ sudo ifconfig tap0 create
ifconfig: interface tap0 already exists
[jussi@OpenVPN ~]$ sudo ifconfig tap0 up
ifconfig: interface tap0 does not exist
Any advice how to go forward?
Cheers, Jussi