MFS - Fix mmap issues with files under MFS
[dragonfly.git] / contrib / ipfilter / rules / nat.eg
blob9c26754a57fa49a8218e861c9b976e53e551ed30
1 # map all tcp connections from 10.1.0.0/16 to 240.1.0.1, changing the source
2 # port number to something between 10,000 and 20,000 inclusive.  For all other
3 # IP packets, allocate an IP # between 240.1.0.0 and 240.1.0.255, temporarily
4 # for each new user.
6 map ed1 10.1.0.0/16 -> 240.1.0.1/32 portmap tcp 10000:20000
7 map ed1 10.1.0.0/16 -> 240.1.0.0/24
9 # Redirection is triggered for input packets.
10 # For example, to redirect FTP connections through this box, to the local ftp
11 # port, forcing them to connect through a proxy, you would use:
13 rdr ed0 0.0.0.0/0 port ftp -> 127.0.0.1 port ftp