I am trying to implement our firewall using ACLs. I want to allow inbound traffic to LAN on certain ports to certain IPs and block all other inbound traffic. I want to allow our internal users to ftp, web browse, etc to outside sources on the internet with no problem. Just want to filter inbound traffic based on port/IP. I have applied the following extended named access-list inbound on our serial interface:
no ip access-list extended InboundToLAN
ip access-list extended InboundToLAN
permit tcp any host 192.168.0.2 eq 80
permit tcp any host 192.168.0.2 eq 443
permit tcp any host 192.168.0.3 eq 80
permit tcp any host 192.168.0.3 eq 443
permit tcp any host 192.168.0.4 eq 80
permit tcp any host 192.168.0.4 eq 443
permit tcp any host 192.168.0.5 eq 1494
permit udp any host 192.168.0.5 eq 1604
permit tcp any host 192.168.0.6 eq 1494
permit udp any host 192.168.0.6 eq 1604
permit tcp any host 192.168.0.7 range 20 21
permit tcp any host 192.168.0.8 eq 25
permit tcp host 206.183.224.11 host 192.168.0.2
permit tcp any host 192.168.0.9 eq 8100
permit tcp any host 192.168.0.9 eq 80
I want to allow ONLY the above traffic InBound. When I apply this to my serial interface using the following command:
ip access-group InBoundToLAN in
After I apply the access-list I run a port scan on my IPs and they show more ports open than I have allowed TCP and UDP. I know there is an implicit deny all at the end of the list that doesn't need to be added. Is this correct. What I am doing wrong? THanks!!
no ip access-list extended InboundToLAN
ip access-list extended InboundToLAN
permit tcp any host 192.168.0.2 eq 80
permit tcp any host 192.168.0.2 eq 443
permit tcp any host 192.168.0.3 eq 80
permit tcp any host 192.168.0.3 eq 443
permit tcp any host 192.168.0.4 eq 80
permit tcp any host 192.168.0.4 eq 443
permit tcp any host 192.168.0.5 eq 1494
permit udp any host 192.168.0.5 eq 1604
permit tcp any host 192.168.0.6 eq 1494
permit udp any host 192.168.0.6 eq 1604
permit tcp any host 192.168.0.7 range 20 21
permit tcp any host 192.168.0.8 eq 25
permit tcp host 206.183.224.11 host 192.168.0.2
permit tcp any host 192.168.0.9 eq 8100
permit tcp any host 192.168.0.9 eq 80
I want to allow ONLY the above traffic InBound. When I apply this to my serial interface using the following command:
ip access-group InBoundToLAN in
After I apply the access-list I run a port scan on my IPs and they show more ports open than I have allowed TCP and UDP. I know there is an implicit deny all at the end of the list that doesn't need to be added. Is this correct. What I am doing wrong? THanks!!