21 lines
512 B
Django/Jinja
21 lines
512 B
Django/Jinja
auto br0
|
|
iface br0 inet static
|
|
pre-up ip link add $IFACE type bridge
|
|
|
|
post-up /usr/local/sbin/post-up-$IFACE-inet.nft
|
|
post-up /usr/local/sbin/post-up-$IFACE-ipv4.nft
|
|
|
|
pre-down /usr/local/sbin/pre-down-$IFACE-ipv4.nft
|
|
pre-down /usr/local/sbin/pre-down-$IFACE-inet.nft
|
|
|
|
post-down ip link del dev $IFACE
|
|
|
|
bridge_stp off
|
|
bridge_waitport 0
|
|
bridge_fd 0
|
|
bridge_ports none
|
|
|
|
address {{ vpn_br0_address }}
|
|
broadcast {{ vpn_br0_broadcast }}
|
|
netmask {{ vpn_br0_netmask }}
|