Home network issues
Posted: Wed Oct 10, 2012 4:13 am
This isn't really a PHP problem or anything but maybe someone here can give me a hand. I will start this off by saying my networking skills are very basic and I dont really understand the whole subnetmask stuff, etc.
My network setup at home goes like so:
Thompson DSL modem / router
D-Link wifi router
All computers (wired and wireless).
Under "All computers" there is my server computer that I am trying to make accessible to the outside world. I have done this many times in the past but for some reason I can't get it to work this time and I think it is because of my router IPs.
When I am connected via the D-Link router, my Thompson has an IP of 192.168.1.254 and my D-Link is at 192.168.0.1. But, when I view the devices under the Thompson, it says the D-Link's IP is 192.168.1.67. Both are on the same subnetmask of 255.255.255.0. This seams strange and seams like it could be causing problems.
If I am connected via the D-Link and type in http://MY-EXTERNAL-IP-ADDRESS then I get the website correctly. No problems at all. But, if I am connected to another network and try to open that IP, the connection times out. Also, I can ping the IP from an external network, no problems - just not connect on port 80 or 21.
For forwarding the ports, I have the Thompson forwarding the ports to the D-Link router (based on MAC address as thats the only way it lets me), and then the D-Link router forwards to the correct IP.
Can anyone give me some advice to get this all working so I can access the server computer from outside my local network? Anything that I am obviously doing wrong?
My network setup at home goes like so:
Thompson DSL modem / router
D-Link wifi router
All computers (wired and wireless).
Under "All computers" there is my server computer that I am trying to make accessible to the outside world. I have done this many times in the past but for some reason I can't get it to work this time and I think it is because of my router IPs.
When I am connected via the D-Link router, my Thompson has an IP of 192.168.1.254 and my D-Link is at 192.168.0.1. But, when I view the devices under the Thompson, it says the D-Link's IP is 192.168.1.67. Both are on the same subnetmask of 255.255.255.0. This seams strange and seams like it could be causing problems.
If I am connected via the D-Link and type in http://MY-EXTERNAL-IP-ADDRESS then I get the website correctly. No problems at all. But, if I am connected to another network and try to open that IP, the connection times out. Also, I can ping the IP from an external network, no problems - just not connect on port 80 or 21.
For forwarding the ports, I have the Thompson forwarding the ports to the D-Link router (based on MAC address as thats the only way it lets me), and then the D-Link router forwards to the correct IP.
Can anyone give me some advice to get this all working so I can access the server computer from outside my local network? Anything that I am obviously doing wrong?