Linux‎ > ‎

Firewall

Firewall builder wants to see each interface when it loads, as interfaces are added, removed the firewall has to be restarted.
When using OpenVpn, you can create all the interface you need using the command

openvpn --mktun --dev tun0

This can be run from a start up script or from the Ubuntu /etc/network/interfaces file

auto tun0
iface tun0 inet static
       address 192.168.123.1
       netmask 255.255.255.252
       pre-up openvpn --mktun --dev tun0