summaryrefslogtreecommitdiffstats
path: root/remote/modules/vmchooser/data/opt/openslx/iptables/rules.d/50-virt-nat1-masquerading
diff options
context:
space:
mode:
Diffstat (limited to 'remote/modules/vmchooser/data/opt/openslx/iptables/rules.d/50-virt-nat1-masquerading')
-rwxr-xr-xremote/modules/vmchooser/data/opt/openslx/iptables/rules.d/50-virt-nat1-masquerading3
1 files changed, 3 insertions, 0 deletions
diff --git a/remote/modules/vmchooser/data/opt/openslx/iptables/rules.d/50-virt-nat1-masquerading b/remote/modules/vmchooser/data/opt/openslx/iptables/rules.d/50-virt-nat1-masquerading
new file mode 100755
index 00000000..b0909760
--- /dev/null
+++ b/remote/modules/vmchooser/data/opt/openslx/iptables/rules.d/50-virt-nat1-masquerading
@@ -0,0 +1,3 @@
+#!/bin/ash
+
+iptables -t nat -A POSTROUTING -o br0 -s 192.168.101.0/24 -j MASQUERADE