Skip to content

Instantly share code, notes, and snippets.

@TimoDJatomika
Last active December 26, 2016 18:07
Show Gist options
  • Save TimoDJatomika/5ff3529409e8a555e56e72082ffbb1c8 to your computer and use it in GitHub Desktop.
Save TimoDJatomika/5ff3529409e8a555e56e72082ffbb1c8 to your computer and use it in GitHub Desktop.
IP Forward + NAT im Autostart
#!/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