Port rewriting
Henrik Nordstrom
hno@marasystems.com
Tue, 9 Apr 2002 20:16:58 +0200
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.