ipnat port-range

alexus alexus at gmail.com
Wed May 13 18:09:07 UTC 2009


On Wed, May 13, 2009 at 12:58 PM, alexus <alexus at gmail.com> wrote:
> 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/
>

that rule is wrong to begin with as rdr doesn't work with ranges, i
guess I need to use something else..

anyone done something like that? use ipnat to map range of ports? this
is for ftp PASV

-- 
http://alexus.org/


More information about the freebsd-questions mailing list