summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cholerab/tincrouting6
1 files changed, 6 insertions, 0 deletions
diff --git a/cholerab/tincrouting b/cholerab/tincrouting
new file mode 100644
index 00000000..a26c0354
--- /dev/null
+++ b/cholerab/tincrouting
@@ -0,0 +1,6 @@
+add 0.0.0.0/0 to hostsfile
+
+echo 1 >/proc/sys/net/ipv4/ip_forward
+
+/sbin/iptables -P FORWARD ACCEPT
+/sbin/iptables --table nat -A POSTROUTING -o eth0 -j MASQUERADE