cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
12481
Views
11
Helpful
7
Replies

ACL to block Internet Access from specific vlan

sreeraj.murali
Level 3
Level 3

Hi,

Please help with Access list on the Internet Router restricting Internet access from specific vlan to specific destination and allowing complete Internet access from another vlan.

 

I am attaching the topology pic, with all the details, please provide expert assistance.

 

Thanks & Regards

Sreeraj

1 Accepted Solution

Accepted Solutions

Hi,

You need to use extended ACL as you want to select based on both source and destination addresses. You can try the following (on the router):-

access-list 100 permit ip 172.20.4.0 0.0.1.255 any
access-list 100 permit ip 172.20.2.0 0.0.0.255 host 185.61.213.80
access-list 100 permit ip 172.20.2.0 0.0.0.255 host 170.12.17.15
access-list 100 permit ip 172.20.2.0 0.0.0.255 host 170.12.141.9
! You do not need the deny statement because there is implicit deny at the end of ACLs.

interface gi0/0
ip access-group 100 in
end

HTH,
Meheretab
HTH,
Meheretab

View solution in original post

7 Replies 7

Hi,

You need to use extended ACL as you want to select based on both source and destination addresses. You can try the following (on the router):-

access-list 100 permit ip 172.20.4.0 0.0.1.255 any
access-list 100 permit ip 172.20.2.0 0.0.0.255 host 185.61.213.80
access-list 100 permit ip 172.20.2.0 0.0.0.255 host 170.12.17.15
access-list 100 permit ip 172.20.2.0 0.0.0.255 host 170.12.141.9
! You do not need the deny statement because there is implicit deny at the end of ACLs.

interface gi0/0
ip access-group 100 in
end

HTH,
Meheretab
HTH,
Meheretab

Hi

Additional if you have any GRE tunnel passing through there, you can add

access-list 100 permit gre any any

And if you are using any ipsec over GRE for VPNs you can add the UDP ports 4500 and 500




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<

Thanks, Sure will add.

Thanks!!! I will try it out.

Great, please keep us posted and please don't forget to rate the comments if they were useful

Have a great day

:-)




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<

Wil do that for sure.

Thank you :-)




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<
Review Cisco Networking for a $25 gift card