blob: 44fb8c9d3e6beb55fe40b501960d730a17e00332 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
EVIL = "lo0"
GOOD = "{ lo0, lo1 }"
GOOD_NET = "{ 127.0.0.0/24, 10.0.1.0/24 }"
DEST_NET = "{ 1.2.3.4/25, 2.4.6.8/30 }"
nat on lo0 inet from 127.0.0.0/24 to 1.2.3.0/25 -> 127.0.0.1
nat on lo0 inet from 127.0.0.0/24 to 2.4.6.8/30 -> 127.0.0.1
nat on lo0 inet from 10.0.1.0/24 to 1.2.3.0/25 -> 127.0.0.1
nat on lo0 inet from 10.0.1.0/24 to 2.4.6.8/30 -> 127.0.0.1
rdr on lo0 inet proto tcp from 127.0.0.0/24 to 1.2.3.0/25 port = ftp -> 127.0.0.1 port 8021
rdr on lo0 inet proto tcp from 127.0.0.0/24 to 2.4.6.8/30 port = ftp -> 127.0.0.1 port 8021
rdr on lo0 inet proto tcp from 10.0.1.0/24 to 1.2.3.0/25 port = ftp -> 127.0.0.1 port 8021
rdr on lo0 inet proto tcp from 10.0.1.0/24 to 2.4.6.8/30 port = ftp -> 127.0.0.1 port 8021
rdr on lo1 inet proto tcp from 127.0.0.0/24 to 1.2.3.0/25 port = ftp -> 127.0.0.1 port 8021
rdr on lo1 inet proto tcp from 127.0.0.0/24 to 2.4.6.8/30 port = ftp -> 127.0.0.1 port 8021
rdr on lo1 inet proto tcp from 10.0.1.0/24 to 1.2.3.0/25 port = ftp -> 127.0.0.1 port 8021
rdr on lo1 inet proto tcp from 10.0.1.0/24 to 2.4.6.8/30 port = ftp -> 127.0.0.1 port 8021
|