Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- auto lo
- iface lo inet loopback
- auto enp4s0
- iface enp4s0 inet dhcp
- auto vmbr0
- iface vmbr0 inet static
- address 10.0.0.1/24
- 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.0.0.0/24' -o enp4s0 -j MASQUERADE
- post-down iptables -t nat -D POSTROUTING -s '10.0.0.0/24' -o enp4s0 -j MASQUERADE
- iface wlp5s0 inet manual
- source /etc/network/interfaces.d/*
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement