![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Port/ IP Forwarding AIX5.3 | Husam | AIX | 1 | 03-26-2008 01:34 AM |
| port forwarding | imloaded24_7 | UNIX for Advanced & Expert Users | 1 | 11-21-2006 08:36 AM |
| ssh forwarding to X11 | ginese | OS X (Apple) | 0 | 02-25-2005 08:53 PM |
| ip forwarding | win2khater | IP Networking | 1 | 11-13-2003 07:04 AM |
| E-mail forwarding | BigBro | UNIX for Dummies Questions & Answers | 1 | 12-03-2000 08:40 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
iptables: forwarding a port
I've been googling for a while now, trying to forward port 3000 to port 80....
In the past I used to DLink router to forward port 3000 to 80. I recently finished (well, is it ever done anyhow?) setting up my linux box and got it acting as a router. I want to continue to run Apache on port 80 because it is easier for me to just type in http://localhost/ to test stuff locally. Having only one box running linux it is doing everything. Router, web server, file server, etc, etc... All the tutorials I came across show how to forward and ip to a separate ip address. I've tried using the same commands (I've done this before once where my Windows box was running the web server... it forwarded just fine) with the correct interfaces, ip addresses and ports... So again, here is what I need to do. Internet \/ eth0/external_ip (Port 3000) \/ eth1/192.168.1.1 (Port 80) Thanks in advance ;]
__________________
meeps |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
I found out that I could have Apache listen on multiple ports so my problem is technically solved.
I'm still interest to find a solution to this past problem using iptables though, never know what software won't listen on multiple ports in the future. Thanks
__________________
meeps |
|||
| Google The UNIX and Linux Forums |