Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- auto vmbr1
- iface vmbr1 inet static
- address 10.10.10.1
- netmask 255.255.255.0
- bridge_ports none
- bridge_stp off
- bridge_fd 0
- post-up echo 1 > /proc/sys/net/ipv4/ip_forward
- post-up iptables -t nat -A POSTROUTING -s '10.10.10.0/24' -o eno1 -j MASQUERADE
- post-down iptables -t nat -D POSTROUTING -s '10.10.10.0/24' -o eno1 -j MASQUERADE
- iface vmbr1 inet6 static
- address 2000::2
- netmask 64
- gateway fe80::1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement