The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


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 !!

More UNIX and Linux Forum Topics You Might Find Helpful
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

Closed Thread
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 11-22-2003
Registered User
 

Join Date: Oct 2003
Location: New York
Posts: 3
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  
Old 11-23-2003
Registered User
 

Join Date: Oct 2003
Location: New York
Posts: 3
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
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 08:31 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0