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?

I also tried specifying source port range as 5555 - 5574, but this resulted in syntax error.

--
Toomas Aas

Reply via email to