Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- auto lo enp4s0 enp3s0 enp2s5
- iface lo inet loopback
- iface enp4s0 inet dhcp (its need to be PPPoE)
- allow-hotplug enp3s0
- iface enp3s0 inet static
- address 10.169.89.51
- netmask 255.255.255.0
- gateway 10.169.89.1
- dns-nameserver 8.8.8.8
- allow-hotplug enp2s5
- iface enp2s5 inet static
- address 192.168.0.147
- netmask 255.255.255.0
- pre-up iptables-restore < /etc/iptables.up.rules
- up route add -net 192.168.0.0 netmask 255.255.255.0 dev enp2s5
- up route add -net 0.0.0.0 netmask 255.255.255.255 dev enp4s0
- up route add -net 0.0.0.0 netmask 255.255.255.255 dev enp3s0
- iptables -t nat -A POSTROUTING -o enp3s0 -j MASQUERADE
Add Comment
Please, Sign In to add comment