Last active
December 26, 2016 18:07
-
-
Save TimoDJatomika/5ff3529409e8a555e56e72082ffbb1c8 to your computer and use it in GitHub Desktop.
IP Forward + NAT im Autostart
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
#!/bin/bash | |
echo 1 > /proc/sys/net/ipv4/ip_forward | |
iptables -t nat -A POSTROUTING -j SNAT --to-source 207.154.207.69 -o eth0 | |
exit 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment