LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-18-2004, 11:45 AM   #1
drigz
Member
 
Registered: Apr 2004
Distribution: Gentoo ~x86
Posts: 407

Rep: Reputation: 30
Question apache help needed! v well explained


ok, heres how it is - i've already asked with a short description but i got no replies which worked. so im gonna give a really long detailed one.

here is my setup:

576kbps PPPoA broadband comes in to my house, and is connected to a:
US Robotics ADSL Ethernet Router
out of this comes an ethernet cable, which goes into my:
US Robotics Wireless Turbo Access Point and Router
out of this comes a wireless signal, to which various laptops (all windows) in my house occasionally connect. Also, out come 4 ethernet cables, which go to various places in my house. one goes to linux box a, one to linux box b, one will soon go to linux box c (when i get round to setting it up) and one goes to my laptop when i need a fast connection.

i am currently using dhcp, but when linux box c is up (it will always be on so will be my web server) i will give it a static ip. currently i am using apache on a computer which doesnt have a static ip, but it is only for testing - i just want to get it to work. currently its ip is 192.168.123.107, and the apache server works on this:
http://drigz.petbo.com/apache/local.png
my external ip address is 81.79.119.121, but if i try to access this i get the config page of my 9003 adsl router:
http://drigz.petbo.com/apache/ext.png
the ip address of my 9003 adsl router (internal) is 192.168.1.1:
http://drigz.petbo.com/apache/9003.png
the ip address of my 8054 access point and router is 192.168.123.254:
http://drigz.petbo.com/apache/8054.png

currently i have not got any of the following options enabled.

the only option that i can set on my router than i can think would be helpful is port range mapping:
http://drigz.petbo.com/apache/port.png

there are various options on my 8054 access point and router which i think could be helpful:
virtual server:
http://drigz.petbo.com/apache/virtserv.png
and dmz:
http://drigz.petbo.com/apache/dmz.png

please tell me what i should set these to in order to make it work properly. any guide for how to enable static ip could save me some trouble later.

thank you very much for reading this, and i hope that you can help me.
 
Old 05-18-2004, 12:19 PM   #2
adm1329
Member
 
Registered: Mar 2004
Distribution: CentOS 5
Posts: 128

Rep: Reputation: 17
With the ADSL router, you don't really need a Access Point/Router combo, you just need an Access Point, but this should still work. What you will have to do is forward the IP from the ADSL router to the Access Point/Router, and from the Access Point/Router to your web server. Also you will have to be sure your isp isn't configured to block incoming http traffic. My ISP is set up so I can't set up any kind of server at home without paying more.

To do this, Set up the NAT on your ADSL router to forward the ports you want to come in to your Access Point/Router. At hour Access Point/Router you can either use virtual servers to forward to your web server or set it in the DMZ.
 
Old 05-18-2004, 01:15 PM   #3
drigz
Member
 
Registered: Apr 2004
Distribution: Gentoo ~x86
Posts: 407

Original Poster
Rep: Reputation: 30
ok, so i set nat port mapping on the 9003 adsl router to send access on port 80 to 192.168.123.254, saved and restarted (the router). then when i tried to go to the router webpage, it worked, and it also still went to router from outside. i set the 8054 access point/router to dmz to 192.168.123.107, saved and restarted, and there was no change. so i want downstairs, powered the 9003 on and off again, and reset the 8054 by putting a nail in the reset hole. (just cos it was the garage - needed something thin, didnt think a nail wud hurt). went back to my comp, tried to go on the net, said i cudnt. so i restarted. now web works, and i can access 192.168.1.1 (the 9003, which shud be forwarding port 80 to the 8054), but not 192.168.123.254 (the 8054). the 9003 responds to ping, but the 8054 doesnt. also, my ip has changed to 192.168.1.4 (previously the dhcp was set to 192.168.123.100 - 192.168.123.255) and so obviously it wont forward to my comp.

what can i do now - i cant change settings on the 8054!!!!!!!!
 
Old 05-18-2004, 02:23 PM   #4
binidiot
Member
 
Registered: May 2004
Location: Spain
Distribution: Debian Woody, FreeBSD 5.2.1
Posts: 106

Rep: Reputation: 15
Sheesh, could not follow all that. Have only Windows XP Apache webserver and hMailserver up and running with the XP ISC granting access to internet to two Debian and two WIN98 boxes via dynamic IP ISP via ADSL connection. BUT some really good basic follow the dots tutorials on Debian networking and the Apache server etc avail at www.aboutdebian.com.
 
Old 05-18-2004, 02:43 PM   #5
drigz
Member
 
Registered: Apr 2004
Distribution: Gentoo ~x86
Posts: 407

Original Poster
Rep: Reputation: 30
after some time scanning through that site, i came of little that was any help. this may be helpful though (i wanted to see if i cud connect to the access point on another port):
Code:
drigz@darkstar:~$ nmap 192.168.123.254

Starting nmap 3.45 ( http://www.insecure.org/nmap/ ) at 2004-05-18 20:38 BST
Note: Host seems down. If it is really up, but blocking our ping probes, try -P0
Nmap run completed -- 1 IP address (0 hosts up) scanned in 24.006 seconds
 
  


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
need LogWatch errors explained MiniMe001 Linux - General 1 06-29-2005 10:17 AM
Logs Explained - Newbie 4j9er Linux - Security 3 08-12-2004 10:49 AM
User Permission Explained gamehack Debian 6 02-10-2004 09:01 AM
ssh explained LinuxLala Linux - Security 2 10-01-2003 09:11 AM
Apache and Frontpage, no apache mods needed cli_man Linux - General 0 09-27-2003 09:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:29 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