Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 May 2009 12:58:53 -0400
From:      alexus <alexus@gmail.com>
To:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   ipnat port-range
Message-ID:  <6ae50c2d0905130958r6877114bgbea6a4f717c1287d@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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
/etc/ipnat.rules
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
#



-- 
http://alexus.org/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6ae50c2d0905130958r6877114bgbea6a4f717c1287d>