-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b2069d0
commit 75f7706
Showing
4 changed files
with
10 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
allow-hotplug eth1 | ||
iface eth1 inet dhcp | ||
iface eth1 inet static | ||
address 192.168.8.100/24 | ||
gateway 192.168.8.1 | ||
post-up iptables --table nat --append POSTROUTING --out-interface $IFACE --jump MASQUERADE | ||
post-down iptables --table nat --delete POSTROUTING --out-interface $IFACE --jump MASQUERADE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
allow-hotplug usb0 | ||
iface usb0 inet dhcp | ||
iface usb0 inet static | ||
address 192.168.8.100/24 | ||
gateway 192.168.8.1 | ||
post-up iptables --table nat --append POSTROUTING --out-interface $IFACE --jump MASQUERADE | ||
post-down iptables --table nat --delete POSTROUTING --out-interface $IFACE --jump MASQUERADE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters