summarylogtreecommitdiffstats
path: root/iptables.rules.sample
diff options
context:
space:
mode:
Diffstat (limited to 'iptables.rules.sample')
-rw-r--r--iptables.rules.sample5
1 files changed, 5 insertions, 0 deletions
diff --git a/iptables.rules.sample b/iptables.rules.sample
new file mode 100644
index 00000000000..ac712ee21b4
--- /dev/null
+++ b/iptables.rules.sample
@@ -0,0 +1,5 @@
+*filter
+-A INPUT -i tun -j ACCEPT
+-A FORWARD -s 192.168.254.0/255.255.255.0 -j ACCEPT
+*nat
+-A POSTROUTING -s 192.168.254.0/24 -j MASQUERADE