my config Fedora 5 Tomcat 5517 Java Sun 1508 Im running a tomcat in port 80 without httpd I want redirect packages from 80 to 8080 because tomcat is running as tomcat user (cant run as other non root under port 1025) and I tried the IPTABLES redirection aproach but doesnt work I tried this but no news... - A another way is to use Iptables to redirect Port 80 and 443 to user ports (>1024)
* /sbin/iptables -A FORWARD -p tcp --destination-port 443 -j ACCEPT * /sbin/iptables -t nat -A PREROUTING -j REDIRECT -p tcp --destination-port 443 --to-ports 8443 * /sbin/iptables -A FORWARD -p tcp --destination-port 80 -j ACCEPT * /sbin/iptables -t nat -A PREROUTING -j REDIRECT -p tcp --destination-port 80 --to-ports 8080 /sbin/iptables-save or /etc/init.d/iptables save from http://wiki.apache.org/tomcat/HowTo somebody had the same problem ? thank you. Rodrigo ------------------------------------------------------------------- Rodrigo Asensio Fuel Management Services Gilbarco Veeder Root phone: +1 336 547 5023 email: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> This message (including any attachments) contains confidential and/or proprietary information intended only for the addressee. Any unauthorized disclosure, copying, distribution or reliance on the contents of this information is strictly prohibited and may constitute a violation of law. If you are not the intended recipient, please notify the sender immediately by responding to this e-mail, and delete the message from your system. If you have any questions about this e-mail please notify the sender immediately.