diff options
author | netblue30 <netblue30@protonmail.com> | 2023-03-05 09:57:04 -0500 |
---|---|---|
committer | netblue30 <netblue30@protonmail.com> | 2023-03-05 09:57:04 -0500 |
commit | d78fc96ee0585fbf0fc467eebc109716eee2e1d7 (patch) | |
tree | 65a56cdde3a8e803dde6e5c4d5dfe26d617579c4 /test/network | |
parent | cleanup appimage (diff) | |
download | firejail-d78fc96ee0585fbf0fc467eebc109716eee2e1d7.tar.gz firejail-d78fc96ee0585fbf0fc467eebc109716eee2e1d7.tar.zst firejail-d78fc96ee0585fbf0fc467eebc109716eee2e1d7.zip |
codespell github action
Diffstat (limited to 'test/network')
-rwxr-xr-x | test/network/configure | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/test/network/configure b/test/network/configure deleted file mode 100755 index 1a39dd5ad..000000000 --- a/test/network/configure +++ /dev/null | |||
@@ -1,31 +0,0 @@ | |||
1 | #!/bin/bash | ||
2 | # This file is part of Firejail project | ||
3 | # Copyright (C) 2014-2023 Firejail Authors | ||
4 | # License GPL v2 | ||
5 | |||
6 | brctl addbr br0 | ||
7 | ifconfig br0 10.10.20.1/29 up | ||
8 | # NAT masquerade | ||
9 | iptables -t nat -A POSTROUTING -o eth0 -s 10.10.20.0/29 -j MASQUERADE | ||
10 | # port forwarding | ||
11 | # iptables -t nat -A PREROUTING -p tcp --dport 80 -j DNAT --to 10.10.20.2:80 | ||
12 | |||
13 | brctl addbr br-unconfigured | ||
14 | ifconfig br-unconfigured up | ||
15 | brctl addbr br1 | ||
16 | ifconfig br1 10.10.30.1/24 up | ||
17 | brctl addbr br2 | ||
18 | ifconfig br2 10.10.40.1/24 up | ||
19 | brctl addbr br3 | ||
20 | ifconfig br3 10.10.50.1/24 up | ||
21 | brctl addbr br4 | ||
22 | ifconfig br4 10.10.60.1/24 up | ||
23 | ip link add link eth0 name eth0.5 type vlan id 5 | ||
24 | /sbin/ifconfig eth0.5 10.10.205.10/24 up | ||
25 | ip link add link eth0 name eth0.6 type vlan id 6 | ||
26 | /sbin/ifconfig eth0.6 10.10.206.10/24 up | ||
27 | ip link add link eth0 name eth0.7 type vlan id 7 | ||
28 | /sbin/ifconfig eth0.7 10.10.207.10/24 up | ||
29 | |||
30 | # network namespace | ||
31 | ip netns add red | ||