Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 807
  • Last Modified:

Cisco 2801 SDM access & static NAT problem

Hi everyone!

I have a problem.. I have a Cisco 2801 router running ADSL with PAT and one static NAT translation. In other words, I have two public IP addresses(/30) on the same dialer1 interface. I use one for my internet access PAT (A.B.C.D/30) and the other for incoming HTTP, HTTPS, SMTP traffic (A.B.C.E/30) . Natted to my internal subnet 192.168.0.X/24 web server on 192.168.0.100...

Everything works fine, but my customer has a requirement to view(read only) the routers configuration via SDM because they dont know IOS. I can enable SDM read only access without trouble. However, when I enable SDM the HTTP, HTTPS, SMTP nat on public ip address A.B.C.E stops working because the router is now using port 80 and 443 on the dialer interface.

is there anyway I can enable SDM on just the fastethernet interfaces or something? Similar to a PIX??

does anyone out there think SDM is as bad as I do?? Seems to be nothing but trouble! I have customers who use SDM and the amount of commands it issues to make a simple change is amazing. Cant be right.. :-Z

We should all stick to good old command line :).

Thanks in advance

Matt
0
needsy
Asked:
needsy
  • 4
  • 2
1 Solution
 
rsivanandanCommented:
Can't do on a router!

On the other hand when you have Static NAT for the service, how does it stop your http/https connections ? It shouldn't....

When you enable 'ip http server' the router will start listening for web traffic on the interface assigned ip address. The public ip you are using won't be assigned to the interface so I don't see why it doesn't work.

Your config should be this;

int dialer0
ip address <PublicIP-1> <Mask>
ip nat outside

int fa0/0
ip nat outside

ip nat inside source list 1 int dialer0 overload

access-list 1 permit...... (Your internal network)

FOR PUBLIC HTTP/HTTPS ACCESS TO THE WEBSERVER, THE STATIC NAT SHOULD BE THIS;

ip nat inside source static tcp <LocalIP> 80 <PublicIP-1> 80
ip nat inside source static tcp <LocalIP> 443 <PublicIP-1> 443

access-list =>To allow these traffic from outside world...''

If this is how it is setup, you won't have any problem. I believe (A hunch) is that you have assigned both the public ip addresses on the dialer interface ?

Cheers,
Rajesh

0
 
needsyAuthor Commented:
Think I've answered my own question!! :). I'll change the port that SHTTP SDM uses to 10443 or something...
I'll keep you all posted.

Matt
0
 
rsivanandanCommented:
Ahh typo;

Read this >>int fa0/0
ip nat outside

as;

>>int fa0/0
ip nat inside


&
this >>ip nat inside source static tcp <LocalIP> 80 <PublicIP-1> 80
ip nat inside source static tcp <LocalIP> 443 <PublicIP-1> 443


as

p nat inside source static tcp <LocalIP> 80 <PublicIP-2> 80
ip nat inside source static tcp <LocalIP> 443 <PublicIP-2> 443

Cheers,
Rajesh
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
rsivanandanCommented:
Changing the port is good on the security point. But still you shouldn't hit this problem at all in the first place even if you run it on port 80

Cheers,
Rajesh
0
 
needsyAuthor Commented:
Thanks for the info Rajesh! I see what your saying... But I havent got both of the public IP's on the dialer. It's set up as you were saying above.

only my static nat statement looks like this..

ip nat inside source static <LocalIP> <PublicIP-2>

So I should just be natting all ports from <PublicIP-2> to <LocalIP> right??. Then I just rely on my acl on the dialer to lock it down... Which works fine. Until I enable the dreaded SDM... :)

Anyway, I'll give it a go tomorrow. I'll let you know what happens. If I still have issues I'll paste the config.
Thanks again

Matt

0
 
rsivanandanCommented:
Yeah, try it and when you hit the problem again, do this just to make sure;

clear ip nat translations  

Cheers,
Rajesh
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now