From f778ad0cfa03bd7358efc4b54dff352cfbc0ec19 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Fri, 15 May 2015 18:20:05 +0200 Subject: Moved common data files of vmchooser and vmchooser2 to new module called run-virt --- .../data/opt/openslx/iptables/rules.d/50-virt-nat1-masquerading | 3 +++ 1 file changed, 3 insertions(+) create mode 100755 remote/modules/run-virt/data/opt/openslx/iptables/rules.d/50-virt-nat1-masquerading (limited to 'remote/modules/run-virt/data/opt/openslx/iptables') diff --git a/remote/modules/run-virt/data/opt/openslx/iptables/rules.d/50-virt-nat1-masquerading b/remote/modules/run-virt/data/opt/openslx/iptables/rules.d/50-virt-nat1-masquerading new file mode 100755 index 00000000..b0909760 --- /dev/null +++ b/remote/modules/run-virt/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 -- cgit v1.2.3-55-g7522