aboutsummaryrefslogtreecommitdiffstats
path: root/test/network
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@protonmail.com>2023-03-05 09:57:04 -0500
committerLibravatar netblue30 <netblue30@protonmail.com>2023-03-05 09:57:04 -0500
commitd78fc96ee0585fbf0fc467eebc109716eee2e1d7 (patch)
tree65a56cdde3a8e803dde6e5c4d5dfe26d617579c4 /test/network
parentcleanup appimage (diff)
downloadfirejail-d78fc96ee0585fbf0fc467eebc109716eee2e1d7.tar.gz
firejail-d78fc96ee0585fbf0fc467eebc109716eee2e1d7.tar.zst
firejail-d78fc96ee0585fbf0fc467eebc109716eee2e1d7.zip
codespell github action
Diffstat (limited to 'test/network')
-rwxr-xr-xtest/network/configure31
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
6brctl addbr br0
7ifconfig br0 10.10.20.1/29 up
8# NAT masquerade
9iptables -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
13brctl addbr br-unconfigured
14ifconfig br-unconfigured up
15brctl addbr br1
16ifconfig br1 10.10.30.1/24 up
17brctl addbr br2
18ifconfig br2 10.10.40.1/24 up
19brctl addbr br3
20ifconfig br3 10.10.50.1/24 up
21brctl addbr br4
22ifconfig br4 10.10.60.1/24 up
23ip link add link eth0 name eth0.5 type vlan id 5
24/sbin/ifconfig eth0.5 10.10.205.10/24 up
25ip link add link eth0 name eth0.6 type vlan id 6
26/sbin/ifconfig eth0.6 10.10.206.10/24 up
27ip 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
31ip netns add red