I have had problems finding a way to bridge network interfaces on Debian/kFreeBSD.
My primary goal is to create 2 - 4 tap interfaces and bridge them with two physical Interfaces.
The Syntax in /etc/network/interfaces differs a bit from the Linux version.
currently i use the following (on Linux Debian)
(only partial output)
auto tap0 iface tap0 inet manual pre-up openvpn --mktun --dev tap0 post-down openvpn --rmtun --dev tap0 auto tap1 iface tap1 inet manual pre-up openvpn --mktun --dev tap1 post-down openvpn --rmtun --dev tap1 auto br0 iface br0 inet static bridge_ports tap0 tap1 eth1 eth2 address 10.20.30.40 netmask 255.255.255.0
What would be the normal solution, als openvpn on FreeBSD only creates the device if ONE user connects?
i am missing somthing like /etc/rc.conf
cloned_interfaces="bridge0" ifconfig_bridge0="addm re0 up" openvpn_if="tap bridge"
My general goal would be to switch from Debian Linux to Debian kFreeBSD but i need to sort out some things first.
(reasons for my change are PF (witch I find much more easier to use than iptables) and native ZFS) but, you could convince from other approaches (BIG FS needed, and btrfs is not stable enough)