LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 05-17-2006, 02:29 PM   #1
impulse()
Member
 
Registered: May 2006
Posts: 38

Rep: Reputation: 15
Port forwarding on a wireless router.


I have a BT Voyager 2100 router where 3 computers connect to this giving them 192.168.1.2, .1.3 and .1.4 addresses where the router is .1.1. This router has a web interface for configuration which runs on port 80. I want any web requests on the the routers IP to be forwarded to a Linux box with Apache running on it. So far this has proved a struggle. I have disabled the web interface on the router and added port 80 forwards to 192.168.1.4 (Linux box) but it just doesn't forward. I can access the web server locally but not externally. I've updated to the latest firmware for the router but port forwarding didn't work before of after this firmware update.
Has anyone else had a web server running on a network with a wireless ADSL router with NAT.

Thanx in advance, Ste.
 
Old 05-17-2006, 02:41 PM   #2
Amuro-Ray2020
Member
 
Registered: Aug 2004
Location: Arizona
Distribution: Linux Mint
Posts: 81

Rep: Reputation: 15
The way I have mine set up, is my Apache webserver is set on a box with DMZ permissions from my router. It's a setup highly similar to yours. I had to actually tell my apache server to listen on port 80 of my ISP's assigned address before I could get anyone to access it outside of my own LAN.

You might want to try in the Network forum; people experienced with port forwarding would pay more attention there.
 
Old 05-18-2006, 12:24 PM   #3
Kilahchris
Member
 
Registered: Jan 2003
Location: NY
Distribution: Suse 9.0
Posts: 202

Rep: Reputation: 30
Quote:
I have disabled the web interface on the router and added port 80 forwards to 192.168.1.4 (Linux box) but it just doesn't forward.
I never knew that was possible to disable a router's web interface??? I would do not see the purpose of it? how would you be able to configure port forwarding???


How are you trying to access the website externally?
Do you have a website name already registered and reserved? or are you putting the external IP address in a web browser on a computer outside your network?

Last edited by Kilahchris; 05-18-2006 at 12:26 PM.
 
Old 05-18-2006, 01:38 PM   #4
impulse()
Member
 
Registered: May 2006
Posts: 38

Original Poster
Rep: Reputation: 15
I have setup a port forward to port 80 on a 192.168.1.4 (Linux box with Apache) but if I access my external IP it goes to the web interface of the router. EG http://84.45.x.x

Still no luck though
 
Old 05-18-2006, 06:20 PM   #5
impulse()
Member
 
Registered: May 2006
Posts: 38

Original Poster
Rep: Reputation: 15
I have tried enabling DMZ to the Linux box but it's still not getting there. You mentioned configuring Apache to listen on the IP issued by my ISP? Would this overtake the web service my router runs for configuration? Where in the Apache config file is this defined?

Regards,

---

Just to add - I edited /etc/httpd/httpd.conf and changed the listening port to my external IP on port 80 which caused the httpd service to fail while booting so I changed this to run on port 700 so there are no conflicts between apache and my router web interface. This was accessible on port 700 through my local IP (192.x) but not externally. It just doesn't appear. This is all while port forwarding is setup and DMZ both to my Linux server box.

Last edited by impulse(); 05-18-2006 at 06:28 PM.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
port forwarding/DMZ? router acting up, i think? nixel Linux - Networking 2 12-05-2005 12:18 AM
Port forwarding w/o changing router configuration dt4stat Linux - Newbie 1 03-11-2005 03:54 PM
Configuring port forwarding on D-Link router Gormless Linux - Networking 1 10-28-2004 08:29 PM
router port forwarding/ssh epoo Slackware 7 12-30-2003 04:02 PM
belkin router http port forwarding illtbagu Linux - Networking 3 08-16-2003 03:44 PM


All times are GMT -5. The time now is 12:34 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration