Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

WEB SERVER on Local IP

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

Re: WEB SERVER on Local IP

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

10 REPLIES
Silver

Re: WEB SERVER on Local IP

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

Re: WEB SERVER on Local IP

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

New Member

Re: WEB SERVER on Local IP

Hi all,

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

thanks

dahval

New Member

Re: WEB SERVER on Local IP

Hi all

here is the attechment for router config.

Thanks

Dhaval

Re: WEB SERVER on Local IP

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

New Member

Re: WEB SERVER on Local IP

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

New Member

Re: WEB SERVER on Local IP

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

New Member

Re: WEB SERVER on Local IP

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

New Member

Re: WEB SERVER on Local IP

HI PremKumar.

Thanks, I got the website browsing from outside now.

Thanks,

Dhaval

New Member

Re: WEB SERVER on Local IP

Hi Premkumar,

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

Thanks,

Dhaval

278
Views
0
Helpful
10
Replies
CreatePlease login to create content