Toomas Aas wrote:
Hello!

I need to RDR a range of ports from my external IP to one specific internal network host, on a gateway running FreeBSD 4.11 and IPFilter 4.1.8 (I know, I know...). I created a rule like this:

rdr dc0 from any to 12.34.56.78/32 port 5554 >< 5575 -> 192.168.1.5 port 5555 tcp

However, in output of 'ipnat -l', this rule shows as

rdr dc0 from any to 12.34.56.78/32 port 5575 >< 0 -> 192.168.1.5 port 5555 tcp

Am I doing something wrong, or maybe there is a bug in my (admittedly very old) version of IPFilter?

You should check if the functionality works.
I seem to recall some bugs regarding parsing of port numbers
in NAT rules and you may be encountering this.

This has, however, been fixed since then.

Darren

Reply via email to