LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-16-2004, 10:53 AM   #1
TheHunted
LQ Newbie
 
Registered: Aug 2003
Location: Timbuk 2
Posts: 2

Rep: Reputation: 0
public apache servers


Right now I have an apache server I connect to by typing 192.168.1.100 (so I am behind a router). How would I let people on the outside connect to my server using my real IP address The server is not on the computer thats directly connected to the router, that shouldn't be a problem.

Is there anything I need to do to allow this? Because right now the request times out. Thanks.

Last edited by TheHunted; 03-16-2004 at 10:55 AM.
 
Old 03-16-2004, 10:58 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Forward port 80 from the router to your internal server and its IP address.
 
Old 03-16-2004, 02:03 PM   #3
coolamit78
Member
 
Registered: Aug 2003
Location: New Delhi, India
Distribution: RHEL AS 3/4, Windows XP
Posts: 546

Rep: Reputation: 31
Hi..!

Many a times, I've come across a line bit similar to this one on LQ...
Quote:
Forward port 80 from the router to your internal server and its IP address.
Which are the files that I would need to modify and how exactly is this port forwarding done ?... I'm not aware of how to go about forwarding a particular port to a machine on the LAN..so, I'd appreciate if you could provide some more details about the exact procedure...

Thanx & Regards,

amit
 
Old 03-16-2004, 02:23 PM   #4
Drogo
Member
 
Registered: Oct 2002
Distribution: RedHat 8 or 9 (shrike)- Fedora Core 1,2
Posts: 215

Rep: Reputation: 30
You need to change the settings on your router thru your browser.

Example: lots of routers have a default address like

http://192.168.1.0

Read your documentation for your router.
 
Old 03-16-2004, 02:49 PM   #5
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Quote:
Originally posted by Drogo
Read your documentation for your router.
That is exactly the case and well, as there are many types of routers out there, the first thing you need to do is simply that..

Cheers.
 
Old 03-16-2004, 02:53 PM   #6
uslic001
LQ Newbie
 
Registered: Mar 2004
Posts: 6

Rep: Reputation: 0
different for each router

Instructions on how to do port forwarding are hard to give since each brand of router has a different way of doing this. As outlined above many routers allow you to access a configuration screen by using your browser to go to the gateway, which is located at http://192.168.1.1/ for my router.

My router is a Linksys and there is a tab for port forwarding on the configuration screen. From there you put in what port you want to forward and to what IP address you want the port forwarded, usually 192.168.1.100 if only one computer is hooked to the router.

Good luck.
 
Old 03-17-2004, 10:38 AM   #7
coolamit78
Member
 
Registered: Aug 2003
Location: New Delhi, India
Distribution: RHEL AS 3/4, Windows XP
Posts: 546

Rep: Reputation: 31
Well...I guess you are talking about third party routers or may be hardware routers ( which are especially developed to function as a router )..for example, cisco, dell, linksys...

However, I asked that question with regard to a linux machine configured as router..I can configure my linux box as a router by adding a virtual interface (eth0:1)...In that scenario, how will I forward port 80 from the router to the internal apache server?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
public distcc servers? levicc00123 Linux - General 1 03-14-2005 11:27 AM
public nfs servers serving mandrake 10.0? evilchild Mandriva 0 10-31-2004 02:28 PM
two public ips on one nic for home office dns servers rioguia Linux - Networking 12 08-19-2004 03:59 PM
Public users need file access via Apache dufferin Linux - Networking 1 02-22-2004 01:01 AM
Public NFS Servers fat_mike Linux - General 2 03-27-2003 09:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration