diff options
| author | Simon Rettberg | 2015-05-15 18:20:05 +0200 |
|---|---|---|
| committer | Simon Rettberg | 2015-05-15 18:20:05 +0200 |
| commit | f778ad0cfa03bd7358efc4b54dff352cfbc0ec19 (patch) | |
| tree | 1bd27a0980993c579080f086499d724a7cbe594a /remote/modules/run-virt/data/opt/openslx/iptables/rules.d | |
| parent | Merge branch 'master' of dnbd3:openslx-ng/tm-scripts (diff) | |
| download | tm-scripts-f778ad0cfa03bd7358efc4b54dff352cfbc0ec19.tar.gz tm-scripts-f778ad0cfa03bd7358efc4b54dff352cfbc0ec19.tar.xz tm-scripts-f778ad0cfa03bd7358efc4b54dff352cfbc0ec19.zip | |
Moved common data files of vmchooser and vmchooser2 to new module called run-virt
Diffstat (limited to 'remote/modules/run-virt/data/opt/openslx/iptables/rules.d')
| -rwxr-xr-x | remote/modules/run-virt/data/opt/openslx/iptables/rules.d/50-virt-nat1-masquerading | 3 |
1 files changed, 3 insertions, 0 deletions
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 |
