ipnat port-range

alexus alexus at gmail.com
Wed May 13 16:58:55 UTC 2009

i need to redirect bunch of ports, or port-range from outside to my jail

# /etc/rc.d/ipnat reload
/etc/rc.d/ipnat: DEBUG: checkyesno: ipnat_enable is set to YES.
/etc/rc.d/ipnat: DEBUG: run_rc_command: doit: /sbin/ipnat -F -C -f
0 entries flushed from NAT table
2 entries flushed from NAT list
syntax error error at "port-range", line 8
# grep port-range /etc/ipnat.rules
rdr bce0 0/0 port-range 49152:65534 -> lama port-range 49152:65534 tcp


More information about the freebsd-questions mailing list