We help IT Professionals succeed at work.

website for port 82 in iis accessible internally but not externally. Firewall?

jazzIIIlove
jazzIIIlove asked
on
Hi;

I have W2008 and the asp.net website runs fine internally for port 82 but fails externally. Firewall?

What should be the inbound and outbound settings for Windows Firewall? Should i open port 82 for both of them?

Br.
Comment
Watch Question

Commented:
do you mean by "Internally" on the same computer, or on your local LAN?
Top Expert 2015
Commented:
Open port 82 inbound for TCP.
Commented:
As said above, inbound port 82 on the firewall.
I suspect though, you need an NAT rule in your router/modem as well. Same thing applies, forward port 82 to the web server IP.

Commented:
I think we need to know first what he meant by internally and externally, maybe internally is his computer and externally is his LAN, so he only need to bound the site to card IP not 127.0.0.1 and open firewall for that port
Internal: local to that machine, localhost.
Thanks for your attention.

Br.

Commented:
In that case you already have your answer. My answer (NAT), is only for external as in for the public Internet
Hi,

So to clarify, not only opening port 82 on inbound is not enough but also a separate NAT rule i would need?

If so, how does that NAT rule look like?

Br.

Commented:
Inbound port 82, is for LAN connections.
For internet connections, NAT rule is port 82 to port 82 to IP nr of web server, on the modem/router.

Commented:
as Kimputer clarified before NAT Rule (or Port forwarding)  only needed if you want to publish the site on the internet an it depends on your Router, Proxy Server setup
for LAN users only NAT rules or port forwarding is NOT required
It is Cisco 800 Series Router. Is there a specific setting for this? (or is it outside of this question's scope?)

Br.
Top Expert 2015
Commented:
Jazz...

Step back here...  The NAT rule will only be used if you are across segregated networks, or trying to get to the website from outside (The Internet).

If you have 2 computers on the same network, opening port 82 inbound for TCP connections is enough,

If you you are outside the network, like the internet and you have a firewall in the way, you'd need to NAT (i.e. go from internet IP to local machines where the website is IP)

As you are using a CISCO 800 series router, I assume this is either at home or a small office? If you are using this as a firewall as well, you do need to configure a port forwarding rule for the website.

Which Cisco 800 is it?