M
Massimo
I have this private subnet (192.168.42.0/255.255.255.0), connected to the
Internet through a Windows 2003 RRAS computer with two NICs, one of them
attached to the LAN, the other to the Internet with some public IP
addresses.
The RRAS server is also configured to do some port forwardings, mainly to
allow our public web server and Exchange front-end to be reached on ports
80, 25 and 110.
On this server, we are hosting our company web site (on www.mydomain.com),
our SMTP and POP3 front-end (on mail.mydomain.com) and some customer's web
sites (let's call them www.hostedsite1.com, www.hostedsite2.com, and so on).
In our internal DNS, www.mydomain.com and mail.mydomain.com are mapped to
the local private IP address of the server, so to allow intranet users to
connect to the server without going through the RRAS router.
All of this is working, except for a problem: when, from inside the
Intranet, an user tries to reach one of our hosted websites, its browser
queries the DNS, which in turn queries external ones, and the result of this
query is our public IP address. Then the browser tries to connect to that
address, and something weird heppens in the RRAS router, which, instead of
properly forwarding the request to the intranet IP of the web server,
refuses it. The server is perfectly working when accessing it from the
Internet through our public IP address, but when doing the same from inside
the intranet nothing works, and I think the problem is in the RRAS server,
which has troubles handling these connections that go outside and then
inside again through the NAT.
I've done some testings, and the same happens for other protocols: when
trying, from inside the intranet, to reach our front-end server thorugh the
public IP and the NAT, the connection is refused.
Any one ever had this problem, and how did he fix it, if this can actually
be done ?
I could find a workaround setting up fake DNS zones in our server to make
intranet clients think www.hostedsite1.com points directly to our web
server's internal IP, but I'd prefer to avoid this, since this would make
the real DNS records for those zones unavailable...
Thanks for any help
Massimo
Internet through a Windows 2003 RRAS computer with two NICs, one of them
attached to the LAN, the other to the Internet with some public IP
addresses.
The RRAS server is also configured to do some port forwardings, mainly to
allow our public web server and Exchange front-end to be reached on ports
80, 25 and 110.
On this server, we are hosting our company web site (on www.mydomain.com),
our SMTP and POP3 front-end (on mail.mydomain.com) and some customer's web
sites (let's call them www.hostedsite1.com, www.hostedsite2.com, and so on).
In our internal DNS, www.mydomain.com and mail.mydomain.com are mapped to
the local private IP address of the server, so to allow intranet users to
connect to the server without going through the RRAS router.
All of this is working, except for a problem: when, from inside the
Intranet, an user tries to reach one of our hosted websites, its browser
queries the DNS, which in turn queries external ones, and the result of this
query is our public IP address. Then the browser tries to connect to that
address, and something weird heppens in the RRAS router, which, instead of
properly forwarding the request to the intranet IP of the web server,
refuses it. The server is perfectly working when accessing it from the
Internet through our public IP address, but when doing the same from inside
the intranet nothing works, and I think the problem is in the RRAS server,
which has troubles handling these connections that go outside and then
inside again through the NAT.
I've done some testings, and the same happens for other protocols: when
trying, from inside the intranet, to reach our front-end server thorugh the
public IP and the NAT, the connection is refused.
Any one ever had this problem, and how did he fix it, if this can actually
be done ?
I could find a workaround setting up fake DNS zones in our server to make
intranet clients think www.hostedsite1.com points directly to our web
server's internal IP, but I'd prefer to avoid this, since this would make
the real DNS records for those zones unavailable...
Thanks for any help
Massimo