blob: c83857eec5355db05ffbcda377cf310e696e6bdd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#
# run ./config/firewall.sh
#
p 1 firewall add default 4 #SINK0
p 1 firewall add priority 1 ipv4 0.0.0.0 0 100.0.0.0 10 0 65535 0 65535 6 0xF port 0
p 1 firewall add priority 1 ipv4 0.0.0.0 0 100.64.0.0 10 0 65535 0 65535 6 0xF port 1
p 1 firewall add priority 1 ipv4 0.0.0.0 0 100.128.0.0 10 0 65535 0 65535 6 0xF port 2
p 1 firewall add priority 1 ipv4 0.0.0.0 0 100.192.0.0 10 0 65535 0 65535 6 0xF port 3
#p 1 firewall add bulk ./config/firewall.txt
p 1 firewall ls
|