Take the 2-minute tour ×

I'm using FreeBSD-10.0-RELEASE:

root@fx:~ # uname -a
root@fx:~ # 

and I'm trying to configure ipnat(8) to do redirect for me from port 80 to port 80:

root@fx:~ # cat /etc/ipnat.rules 
rdr bce0 port 80 -> port 80 tcp
root@fx:~ # 

whenever I hit on port 80, I'm getting follwoing:

root@fx:~ # ipnat -l
List of active MAP/Redirect filters:
rdr bce0 port 80 -> port 80 tcp

List of active sessions:
RDR    80    <- ->    80    [ 41677]
root@fx:~ # 

and nothing on the client's end( what am I doing wrong? Can someone give me a hand please? I even tried w/ natd(8).

root@fx:~ # cat /etc/natd.conf
redirect_port tcp
root@fx:~ # 
share|improve this question
ipfilter (ipnat is part from ipfilter) is almost not maintained for now. Better to use pf instead ipnat. –  citrin Feb 24 at 17:16
can you provide an example of how to do port forwarding w/ pf? –  alexus Feb 24 at 17:27

Your Answer



Browse other questions tagged or ask your own question.