Thread: nat HELP
View Single Post
Old 2nd February 2009
dextro dextro is offline
Port Guard
 
Join Date: Dec 2008
Posts: 21
Default

new pf.conf
Code:
ext1="nfe0"
int1="rl0"

pc1="10.0.0.2"
pc2="10.0.0.3"

# options
#set block-policy return
#set loginterface $ext1
set skip on lo

# scrub
#scrub in

# nat/rdr
nat on $ext1 from !($ext1) -> ($ext1:0)
#binat on $ext1 from $pc1 to any -> $ext1

rdr-anchor "miniupnpd"

rdr on $ext1 proto {tcp, udp} from any to any port 1:65535 -> $pc1

anchor "miniupnpd"

pass in on $ext1 inet proto { tcp, udp } from any to $pc1 port 1:65535
game still doesn't work with just nat, still need to binat, seeing as how I am forwarding ALL ports it has to be PF amirite?
Reply With Quote