> The telnet's being done from the box itself, telneting to the network ip > (not loopback) of the box. The same response occurs if the telnet is > done from another box. > if you do telnet from the localhost, you must have a rule in the OUTPUT chain, which redirects packets from port 80 to 8080. otherwise you won't be redirected! (Locally generated packets always go out through OUTPUT chain) something like this should help iptables -A OUTPUT -t nat -p tcp --dport 80 -j REDIRECT --to 8080 or try telnet from the LAN, which should work with the PREROUTING Rule. > > --> -----Original Message----- > --> From: Fabian Hartmann [mailto:realdeal@xxxxxxxxxxxx] > --> Sent: Wednesday, February 18, 2004 9:53 AM > --> To: Martinez, Michael > --> Subject: RE: Instructions on how to redirect port 80 to port 8080 > --> > --> > --> > > --> > This isn't working. I can "telnet `hostname` 8080" and get an http > --> > response, but when I do "telnet `hostname` 80" the > --> response I get is > --> > "telnet: Unable to connect to remote host: Connection refused." > --> > > --> Where are you doing the telnet from? from the lan or from > --> the firewall itself? > --> > --> --- > --> Fabian Hartmann > --> > --> realdeal@xxxxxxxxxxxx > --> www.realdealz.ch > --> > --- Fabian Hartmann realdeal@xxxxxxxxxxxx www.realdealz.ch