Computing.Net > Forums > Windows Server 2003 > server behind a LAN

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

server behind a LAN

Reply to Message Icon

Name: ericosuave
Date: April 6, 2005 at 19:29:39 Pacific
OS: windows 2003 advanced ser
CPU/Ram: 1.5 256 MB
Comment:

This is my situation. I set up a DNS server to host this website i have.. everything works great! but, since i am on a LAN i cannot access my own website/mail from home, becuase i cannot use the public IP address.

When i try to send mail using the Private email addresses as the SMTP and POP3 servers, i can send email out, but cannot recieve anything because i am not able to use the public IP address.

My question is.. is there any way i can set up my computer to act as if i were an outside user connecting to my server with the public IP address?



Sponsored Link
Ads by Google

Response Number 1
Name: ericosuave
Date: April 6, 2005 at 19:31:13 Pacific
Reply:

by the way, this DNS server that I have set up is at home also on the same LAN that i am on.


0

Response Number 2
Name: pmkdatabase
Date: April 6, 2005 at 21:33:21 Pacific
Reply:

Routers do this - can't access WAN address from LAN - to protect from IP spoofing. I don't know how you can get around it and even if you do, you open yourself up to that kind of attack.

Are you using your own email server? If so, which one? You should be able to set it up to receive email both from external and internal IPs.

You should be able to access the web site using the LAN IP address from any host on the subnet.

Peter


0

Response Number 3
Name: ericosuave
Date: April 6, 2005 at 22:06:34 Pacific
Reply:

I am using kerio mailserver 6.


0

Response Number 4
Name: pmkdatabase
Date: April 6, 2005 at 23:31:13 Pacific
Reply:

I haven't set that up before, but there must be a way to do so that mail is collected from the WAN IP and delivered internally. Did you check for an FAQ on this on their web site?

Peter


0

Response Number 5
Name: ericosuave
Date: April 7, 2005 at 16:49:41 Pacific
Reply:

ok.. i got the kerio mail server running fine.. now all i am wondering is how i can view my external website www.ericwingate.com internally on the LAN? when i type in the servers computer local IP address.. it returns: Bad Request (Invalid Hostname).


0

Related Posts

See More



Response Number 6
Name: pmkdatabase
Date: April 7, 2005 at 18:40:33 Pacific
Reply:

Hmmmmm. Can you ping the server? Is there an internal firewall in place? Are you using the format http:\\xxx.xxx.xxx.xxx?

Peter


0

Response Number 7
Name: ericosuave
Date: April 7, 2005 at 21:35:57 Pacific
Reply:

I can ping the server with the local IP and the Private IP.. others on the internet can see my website.. but i cannot because I am on the same LAN as the server.

I did use the format http://xxx.xxx.xxx.xxx

I just cannot figure out why this is the way it is!

any ideas?


0

Response Number 8
Name: pmkdatabase
Date: April 7, 2005 at 22:11:21 Pacific
Reply:

How about from the *console* of the server itself? Can you access the web site from there using the _IP_, _not_ http://localhost or http://127.0.0.1?

Are you using any kind of firewall _inside_ the router - in other words, a firewall _other_ than the router?


Peter


0

Response Number 9
Name: ericosuave
Date: April 8, 2005 at 08:53:29 Pacific
Reply:

I cannot access the website from the server console with the public IP address. The only firewall that is running is on the router.. and appropriate ports are open on the router.


0

Response Number 10
Name: zoddy
Date: April 8, 2005 at 14:16:57 Pacific
Reply:

did you setup the port forwarding on the router? ex: you would have the router forward port 80 ( for web server ) to your internal IP address.


0

Response Number 11
Name: pmkdatabase
Date: April 8, 2005 at 19:03:16 Pacific
Reply:

"how i can view my external website www.ericwingate.com internally on the LAN? when i type in the servers computer local IP address.. it returns: Bad Request (Invalid Hostname)."

Well, which is it? This was the original problem.. Now when I try to help accessing the web server by LAN IP, you respond by saying you can't access it by WAN IP!

"I cannot access the website from the server console with the public IP address"

Peter


0

Response Number 12
Name: ericosuave
Date: April 8, 2005 at 22:06:50 Pacific
Reply:

LAN or WAN IP, i cant access my website no matter what. Neither IP works. do i have to add a record in DNS that points to my local web servers IP? such as 210.203.0.6 is local IP.


0

Response Number 13
Name: pmkdatabase
Date: April 8, 2005 at 22:51:49 Pacific
Reply:

Don't even bother with the server's WAN address from inside the LAN. I already told you the router will prevent that and it just confuses the issue.

If you are sitting at the server console as you said, then obviously it is not a DNS problem. In fact if you can ping the server from a workstation by name then that clearly indicates this is not DNS related.

How about http://localhost from the server console? If that doesn't work then there is something wrong with your IIS configuration - I don't know exactly what.

One thing - I assume that your server is operating on port 80 or you have mentioned it ages ago.

Zoddy,
He is trying to access the webserver from inside the LAN. He is not going thru the router!

Peter


0

Response Number 14
Name: cjhowe
Date: April 16, 2005 at 20:51:37 Pacific
Reply:

pmkdatabase is correct on the LAN/WAN issue with routers. It isn't a DNS problem, but can be solved (or so I've read) by hosting a DNS. If all of your LAN computers have as their primary DNS server your DNS machine that points your domain name to the local IP of the machine hosting, then they'll lookup their primary DNS, find your local ip and go there without passing the router.


0

Response Number 15
Name: pmkdatabase
Date: April 16, 2005 at 23:30:10 Pacific
Reply:

Eric,

It almost sounds like you are suggesting a reverse lookup zone. That hasn't been discussed yet in this thread, but may be exactly what is missing.

Peter


0

Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows Server 2003 Forum Home


Sponsored links

Ads by Google


Results for: server behind a LAN

public DNS Server behind a router www.computing.net/answers/windows-2003/public-dns-server-behind-a-router/3654.html

Terminal Server behind firewall www.computing.net/answers/windows-2003/terminal-server-behind-firewall/2088.html

Multiple sites, single server www.computing.net/answers/windows-2003/multiple-sites-single-server/3312.html