NoKideen wrote:
is there anybody know how to do this ?
Running Tomcat as Non-Root under Linux listen for port 80
Ask your Linux admin to disable the "privileged port"
nonsense, which only has value on a multiaccess server,
and which alwasy undermines security by unnecessarily
encouraging running server processes as root when they
would be safer (e.g. if/when exploits are found) run as
non-privileged users
Example iptables rules which achieve port redirection:
/sbin/iptables -t nat -A PREROUTING -p tcp -i eth0 -d 222.123.197.100
--dport 80 -j DNAT --to 222.123.197.100:8080
/sbin/iptables -A FORWARD -p tcp -i eth0 -d 222.123.197.100 --dport
8080 -j ACCEPT
Paul Singleton
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.11.8/113 - Release Date: 27/Sep/2005
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]