1

iptables: How to redirect port in Red Hat Linux 6 (RHEL)? [closed]

view story
linux-howto

http://serverfault.com – Possible Duplicate: iptables: forward port 80 to port 8080 I'd like to forward port 80 to 8080. So I tried to edit /etc/syscongfig/iptables: -A PREROUTING -t nat -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 8080 But got: # service iptables restart iptables: Flushing firewall rules: [ OK ] iptables: Setting chains to policy ACCEPT: filter [ OK ] iptables: Unloading modules: [ OK ] iptables: Applying firewall rules: iptables-restore v1.4.7: Line 8 seems to have a -t table option. What's the probl (HowTos)