aboutsummaryrefslogtreecommitdiffstats
path: root/test/network/configure
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2018-07-16 09:49:55 -0400
committerLibravatar netblue30 <netblue30@yahoo.com>2018-07-16 09:49:55 -0400
commit2bea8f674112e02604bd5aeff12e9d642cdad7b2 (patch)
tree4c40577178898b83e769c0356ee78617e0d2329a /test/network/configure
parentMerge branch 'master' of https://github.com/netblue30/firejail (diff)
downloadfirejail-2bea8f674112e02604bd5aeff12e9d642cdad7b2.tar.gz
firejail-2bea8f674112e02604bd5aeff12e9d642cdad7b2.tar.zst
firejail-2bea8f674112e02604bd5aeff12e9d642cdad7b2.zip
network testing
Diffstat (limited to 'test/network/configure')
-rwxr-xr-xtest/network/configure2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/network/configure b/test/network/configure
index 9d47fe69e..9859519bd 100755
--- a/test/network/configure
+++ b/test/network/configure
@@ -10,6 +10,8 @@ iptables -t nat -A POSTROUTING -o eth0 -s 10.10.20.0/29 -j MASQUERADE
10# port forwarding 10# port forwarding
11# iptables -t nat -A PREROUTING -p tcp --dport 80 -j DNAT --to 10.10.20.2:80 11# iptables -t nat -A PREROUTING -p tcp --dport 80 -j DNAT --to 10.10.20.2:80
12 12
13brctl addbr br-unconfigured
14ifconfig br-unconfigured up
13brctl addbr br1 15brctl addbr br1
14ifconfig br1 10.10.30.1/24 up 16ifconfig br1 10.10.30.1/24 up
15brctl addbr br2 17brctl addbr br2