Port rewriting

Nathan Cassano nathan@cjhunter.com
Tue, 9 Apr 2002 11:06:35 -0700


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.