IIS does not allow netsh port forwarding for 80 and 443 ports

97 Views Asked by At

I have a problem for port forwarding (80,443) via netsh which conflicts with IIS on my windows server 2012

Port forwarding is configured via netsh interface portproxy from external ip:80 to localip:80 (centos on Hyper-V)

for example: 89.211.89.23 80 => 192.168.1.12 80 (does not work, iis not found message) 89.211.89.23 81 => 192.168.1.12 80 (works fine)

It seems IIS listens to 80 port for any ip and blocks traffic

I used netsh http add iplisten command to specify exact ip addresses for iis, now iis doesn't listen to this ip (no any messages from iis) but port forwarding still does not work for 80 port and works fine for 81

Any ideas how to fix it?

0

There are 0 best solutions below