cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3452
Views
8
Helpful
4
Replies

Access Internal Web Server from Internet

shajuthomasn
Level 1
Level 1

We have a web server running inside LAN with the ip 172.16.1.200 on port 80. Even after configuring NAT "ip nat inside source static tcp 172.16.1.200 80 interface Dialer0 80" on DSL Router [Cisco 1720, ip 172.16.1.100], it is not possible to access the webserver from internet. From the router console, it is possible to ping to the webserver, also the web server can access internet. Please provide the configuration details to access the server from outside.

4 Replies 4

Ganesh Hariharan
VIP Alumni
VIP Alumni

We have a web server running inside LAN with the ip 172.16.1.200

on port 80. Even after configuring NAT "ip nat inside source static tcp 172.16.1.200 80 interface Dialer0 80

" on DSL Router [Cisco 1720, ip 172.16.1.100], it is not possible to access the webserver from internet. From the router console, it is possible to ping to the webserver, also the web server can access internet. Please provide the configuration details to access the server from outside.

Hi,

How you are tryiong to access the site from internet via public ip of the dailer interface or via name,first check that port 80 is listening on that server or not  by telnet 172.16.1.100 80 so it will confirms that 80 services are live and then if you are trying from name then it wont as it needs to be added in dns in global so i hopr you are trying by ip address for ip address you needs to sure of the dailer interface ip and try on that ip to access the page.

or try telnet from external world on that known public ip on port 80 .

Hope to help

Ganesh.H

Thanx Ganesh....infact port 80 was blocked by the ISP here...with the same configuration NAT functions well.

Thank you once again for the response..

Neeraj Arora
Level 3
Level 3

Apart from the steps mentioned by Ganeshh, you can also check the following:

- check for any firewall on inside or outside interface

- Check for any ACL on inside or outside interface

- issue the command "telnet 172.16.1.200 80 /source-interface dialer0" to check if Web server responds to a public ip on port 80 or not. This can also help us in confirming if the Default Gateway on the Web server is correctly pointing towards the router's inside interface.

- check default gateway of Web server

- When you are trying to access that server from internet, issue the command "sh ip nat translation | in 172.16.1.200" to check if NAT translation for this server is working or not

Hope the above information helps in correcting the issue.

Neeraj

Thanx Neeraj....infact port 80 was blocked by the ISP here...with the same configuration NAT functions well.

Thank you once again for the response..

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card