cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
579
Views
0
Helpful
10
Replies

WEB SERVER on Local IP

dhavaltandel
Level 1
Level 1

Hi all

-I have web server setup on private ip address.

-I have cisc0 2621 with public ip.

-Now i wan my web server to access from out side.

-I did translation configuration on cisco router like this

ip nat inside source static tcp 192.168.1.1 80 xx.xx.xx.xx 80 extendable

ip nat inside source static tcp 192.168.1.1 53 xx.xx.xx.xx 53 extendable

ip nat inside source static udp 192.168.1.1 53 xx.xx.xx.xx 53 extendable

-My Disign is like this

ISP CLOUD------(F0/0-IP-XX.XX.XX.XX)2621(F0/1)-------SWITCH(NON MANAGABLE)--------LAN[INCLUDE WEB SERVER(192.168.1.1)]

-By doing above trasnslation webserver is not able to access from out side.

-But if i put web server directly on public ip address i can browse the website.(which feels me like web server configuration is okay)

My question is - IS THERE ANYTHING ELSE NEED TO CONFIGURE.......?

Thanks in advance....

regarda

Dhaval

1 Accepted Solution

Accepted Solutions

Hi Dhaval

Instead of defining pool statement and overloading over that can you try defining the overload statement indicating your fastethernet interface..

ip nat inside source list 10 interface FastEthernet0/0 overload

Also can you remove the other subnet (10.1.1.0/24) if it is not being used...

regds

View solution in original post

10 Replies 10

jolmo
Level 4
Level 4

Hi Dhaval

I think you missed:

interface F0/0

ip nat outside

interface F0/1

ip nat inside

Please, try it and let us know

Hope this helps

spremkumar
Level 9
Level 9

Hi Dhaval

Can you post out the full config of your router here ?

Also are you able to ping the public ip which you have configured in the nat statement from outside ?

regds

Hi all,

find attechment for full configuration. only ip information is not available as you can understand the reason.

thanks

dahval

Hi all

here is the attechment for router config.

Thanks

Dhaval

Hi Dhaval

Instead of defining pool statement and overloading over that can you try defining the overload statement indicating your fastethernet interface..

ip nat inside source list 10 interface FastEthernet0/0 overload

Also can you remove the other subnet (10.1.1.0/24) if it is not being used...

regds

Hi

can u explain these couple of commands:

ip nat pool dhara 61.11.35.136 61.11.35.136 netmask 255.255.255.0

ip nat inside source list 10 pool dhara overload

ip nat inside source static tcp 192.168.1.1 21 xx.xx.xx.xx 21 extendable

ip nat inside source static tcp 192.168.1.11 8081 xx.xx.xx.xx 8081 extendable

ip nat inside source static tcp 192.168.1.1 80 xx.xx.xx.xx 80 extendable

ip nat inside source static tcp 192.168.1.1 53 xx.xx.xx.xx 53 extendable

ip nat inside source static udp 192.168.1.1 53 xx.xx.xx.xx 53 extendable

ip nat inside source static tcp 192.168.1.1 22 xx.xx.xx.xx 22 extendable

10xs

Hi

-POOL DHARA is configured for inside users to access internet.

-rest all has same concept its directing the request coming on router for WWW,FTP,DNS,SSH request to internal server which is configured with private ip address.

regards

Dhaval

Hello PremKumar.

I did same but still not able to access my website from out side.

rest of all is working as it is after new configuration..

thanks

Dhaval

HI PremKumar.

Thanks, I got the website browsing from outside now.

Thanks,

Dhaval

Hi Premkumar,

Can you explain me what cause of configuration prob it was..?

Thanks,

Dhaval

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