If it only Ip addresses use tables. Or use anchors: http://www.openbsd.org/faq/pf/anchors.html
On Tue, 23 Mar 2004 18:55:49 +0100, Ed White <[EMAIL PROTECTED]> wrote:
Hi,
someone asked me how to add a rdr rule on the fly.
They are coding a well-known network manipulation utility and needed to apply
the following redirection from the software itself.
They used the following command with Linux:
iptables -t nat -A PREROUTING -p tcp --destination-port 6969 -j REDIRECT --to-port 9090
I said them that PF doesn't support adding rules by command line, so they should use kernel IOCTL.
Any other idea ?
Ed
-- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
