cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
248
Views
5
Helpful
1
Replies

acl

dexteroc1
Level 1
Level 1

If I need to give access to a class b network in an acl/static statement would the following statement work...

access-list acl_out permit tcp host xxx.xxx.0.0 host my.outside.ip eq ssh

static (inside,outside) tcp my.outside.ip ssh my.inside.ip ssh netmask 255.255.255.255 0 0

I've used this configuration before when I had the single IP address but when it is a whole class b I wasn't sure if the xxx.xxx.0.0 would work.

Thanks.

1 Reply 1

acomiskey
Level 10
Level 10

access-list acl_out permit tcp x.x.0.0 255.255.0.0 host my.outside.ip eq ssh

When doing networks, do not use keyword "host", that host keyword is same as mask 255.255.255.255.

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