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


Reply via email to