07-11-2011 03:34 AM - edited 03-07-2019 01:10 AM
I set up port forwarding using this statement:
ip nat inside source static tcp <internal_ip> 80 interface Dialer0 80
It works perfectly when access is made from external network but I get connection refused when I try to access public IP's port 80 from internal network.
I made some research and it seems that this behaviour is expected. What I couldn't find is explanation why this happens and how it could be resolved.
I know I could implement internal DNS to force the use of internal IPs where necessary. But is this the only way to go?
My old cheap netgear router was forwarding requests from both internal and external networks without any issue, so probably there is some other way to set up forwarding instead of using this NAT rule?
I'm new to cisco ios and this was the only way I found to forward a port.