blob: 06bcea22817498d0f6037d48ddba1d8806d477a2 [file] [log] [blame]
Parker Schuhc1975fc2018-04-07 15:27:07 -07001
2in ie:/etc# cat sysctl.conf
3set to 1 the following flag:
4# Uncomment the next line to enable packet forwarding for IPv4
5net.ipv4.ip_forward=1
6
7
8 cat > /etc/iptables.v4
9*nat
10-A POSTROUTING -o eth0 -j MASQUERADE
11COMMIT
12
13END
14
15add to /etc/rc.local:
16iptables-restore < /etc/iptables.v4
17
18
19
20
21create /etc/network/interfaces.d/eth1 with:
22allow-hotplug eth1
23iface eth1 inet static
24 address 11.0.0.179
25 netmask 255.0.0.0