05-02-2011 11:40 AM - edited 03-06-2019 04:52 PM
We have a Cisco 800 router facing the Internet and the public IP is given dynamically from the ISP, so it's subject to change.
We need to have acl's only to allow specific sites to access the 800 from the outside, but the problem we cannot lock down the acl to a specific public ip as it is changing every so many months. Is there a workaround for this?
05-02-2011 12:30 PM
Define "access the 800" please ?
05-02-2011 05:57 PM
Sorry for my ambiguity...
I meant management access using SSH.
so we are looking to have acl's on the cisco 800 router such as:
access-list 100 permit ip host
and apply this to the internet facing interface, but the problem is that we cannot hard code the cisco800 public ip address as it changes given it is dhcp.
so how do we restrict management access to the router based on the ip address if it is not static?
05-02-2011 11:04 PM
Configure standard (not extended) ACL, and apply as access-class under vty.
05-03-2011 07:47 AM
Can you send me an example please.
So let's say I am looking to manage this router (ssh) from : 1.1.1.0\24 (whic is a different site over the Internet)
and the cisco 800 router dynamic ip address is : 2.2.2.2 but that could change in a month time
what is the config like?
05-03-2011 08:34 AM
Hi,
Can you try to below.
access-list 100 permit ip host
line vty 0 4
access-class 100 in
hth
Muammer
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide