Re: Port forwarding
Courtney Grimland <[email protected]> Fri, 17 May 2002 14:17:51 -0700 (PDT)
| Newsgroups | gmane.linux.redhat.release.zoot |
|---|---|
| Message-ID | <[email protected]> |
You're not actually looking for port forwarding (another thing altogether), but a simple redirect. ipchains is your friend here. Somewhere in a startup script (like /etc/rc.d/rc.local), put in a line like this: ipchains -A input -i eth0 -p tcp -s 0/0 -d <my ip address>/32 80 -j REDIRECT 8080 You may have to read the man page for ipchains (it's not one of the scary ones) to tweak the command to suit your needs. --- Richard Doust <[email protected]> wrote: > Hi. I'm running RedHat 6.2 and would like to set up > my box to forward > requests that come in on port 80 to port 8080. I > don't know how to do this. > I've tried looking on the web for instructions but > haven't found any that > don't assume I'm a Linux pro, which I'm not. I have > a hard time remembering > from one time to the next when I sit down at the > console how to do anything. > Can anyone help me? > Thanks in advance. > > > > _______________________________________________ > Zoot-list mailing list > [email protected] > https://listman.redhat.com/mailman/listinfo/zoot-list __________________________________________________ Do You Yahoo!? LAUNCH - Your Yahoo! Music Experience http://launch.yahoo.com