cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
920
Views
0
Helpful
7
Replies

Restrict Internet Access

ifeoyenuga
Level 1
Level 1

hi,

I have a radio link connection to another office from my office. We are on the same vlan on the same switch. I want to restrict them internet access but still grant them access to other services and also internal web application.

can this be done via access-list.

Thank you

7 Replies 7

Ganesh Hariharan
VIP Alumni
VIP Alumni
hi,
I have a radio link connection to another office from my office. We are on the same vlan on the same switch. I want to restrict them internet access but still grant them access to other services and also internal web application.
can this be done via access-list.Thank you

Hello,

Yes, you can apply ACL to allow other services with specifc destination ip address and ports and block rest by having last statement as deny ip any any.

Apply the ACL on the layer interface of the vlan.

Hope it Helps..

-GI

Rate if it Helps

Hi Ganesh,

I have tried this acceslist :

access-list 101 permit tcp 192.168.2.0 0.0.0.255 any eq 80
access-list 101 permit tcp 192.168.2.0 0.0.0.255 any eq 443
access-list 101 permit tcp 192.168.2.0 0.0.0.255 any eq established

int gi0/12

ip access-group 101 in

but i am unable to access the internal web applications.

Hi,

I would use out instead. Any udp traffic on those app ?

Regards,

Hi,

I tried out it was stil the same. there is udp on some of the apps.

All i want to block is just the ability to use the internet. Any other application on the LAN should be accessible.

Hello,

Glad you sorted the problem.

-GI

Hi Ganesh,
I have tried this acceslist :
access-list 101 permit tcp 192.168.2.0 0.0.0.255 any eq 80
access-list 101 permit tcp 192.168.2.0 0.0.0.255 any eq 443
access-list 101 permit tcp 192.168.2.0 0.0.0.255 any eq established

int gi0/12

ip access-group 101 in but i am unable to access the internal web applications.

Hello,

By applying this acl you will only be allowing traffic with source 192.168.2.0/24 for ports 80 and 443.

What destination ip do your internal application resides and have checked the show acl 101 stats what it showing.

Try adding internal server ips in acl with requested source.

Hope it Helps..

-GI

i was able to resolve it with this

access-list 101 permit ip 192.168.0.0 0.0.255.255 host 192.168.0.0 0.0.255.255
access-list 101 deny tcp  192.168.0.0 0.0.255.255 any eq www
access-list 101 deny tcp  192.168.0.0 0.0.255.255 any eq 443

interface fastEthernet 0/0
ip access-group 101 in

Everything is fine now.

tnx