IIS 7.5 Cant load images from external IP (NAT)

muflix

Active Member
Joined
Aug 26, 2011
Messages
18
Location
Prague
Hello i have a problem.

I have installed Windows Server 2008 with two interfaces [192.168.0.1] and [200.100.50.1]
I have installed IIS Default Web Server with binding to 192.168.0.1
I have installed Routing and Remote Access with NAT rule which forward 200.100.50.1:80 to 192.168.0.1:80

I have Win7 PC with IP 200.100.50.2
In Internet Explorer
http://200.100.50.1 works without image (i can download a source code (iistart.htm) but i cant see an image (red cross icon))

Internet Explorer at the Server
http://192.168.0.1 works fine
http://200.100.50.1 works fine
http://200.100.50.1/helpdesk/index.html works fine (i added new folder with index.html)

at client
http://200.100.50.1/helpdesk/ works
http://200.100.50.1/helpdesk/index.html doesnt work

wfetch on client to http://200.100.50.1/welcome.png throws RESPONSE: ... 0x2746 Socket Error on Receive
log file on IIS Server:
2012-04-19 18:28:51 192.168.0.1 GET /welcome.png - 80 - 200.100.50.2 Mozilla/4.0+(compatible+MSIE+8.0+Windows+NT+6.1+Trident/4.0+SLCC2+.NET+CLR+2.0.50727+.NET+CLR+3.5.30729+.NET+CLR+3.0.30729+Media+Center+PC+6.0) 200 0 121 21356

Where is the problem or how can i solve it ?
PS: you can ask why i dont bind web to 200.100.50.1, its because im testing NAT
 
i think this might be a binding issue...?

For testing with IIS and sites etc, i usually add a domain in the hosts file for testing.

So to the site, add a binding mysite.com for example. In the hosts file for the win7 PC on the 50.1 subnet, add mysite.com to 200.100.50.1 and do the same for a client on the 0.1 subnet. This is ofcourse for testing only. Im guessing you will be running DNS at some point!

This will still test your NAT routing but using a domain.

Hope this helps!
 
Back
Top