LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   apache help needed! v well explained (https://www.linuxquestions.org/questions/linux-networking-3/apache-help-needed-v-well-explained-182920/)

drigz 05-18-2004 11:45 AM

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.

adm1329 05-18-2004 12:19 PM

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.

drigz 05-18-2004 01:15 PM

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

binidiot 05-18-2004 02:23 PM

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.

drigz 05-18-2004 02:43 PM

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



All times are GMT -5. The time now is 04:58 PM.