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
What is the variable part in that dynamic rule? Port? IP Source? Cedric