Yes. Exacly as shown.

Why do you ask?

Regards
Henrik


On Tuesday 09 April 2002 20:06, Nathan Cassano wrote:
> Hi folks,
>       I was wondering is it possible to effectively port rewrite an
> incoming ip request. My reason for wanting this is so that I can
> run apache as a normal user on an unprivileged port.
>
> Would this work?
> iptables -t nat -A PREROUTING -p tcp --destination-port 80 -j DNAT
> --to localhost:8080
>
> Please include my email address in your reply as I am not
> subscribed to this list.

Reply via email to