Having trouble with my access list - this should be simple but my brain is fried and cant get it to work so I need to start from scratch.
I need to block all traffic to a certain host inside my network (ex:
5.6.7.254) except for 1 outside subnet (ex: 1.2.3.0) that should have access.This isn't doing the trick:
access-list 102 permit udp 1.2.3.0 0.0.0.255 host 5.6.7.254 eq syslog access-list 102 permit tcp 1.2.3.0 0.0.0.255 host 5.6.7.254 eq syslog access-list 102 deny udp 0.0.0.0 255.255.255.255 host 5.6.7.254 eq syslog access-list 102 deny tcp 0.0.0.0 255.255.255.255 host 5.6.7.254 eq syslog access-list 102 permit udp any any access-list 102 permit ip any any
How should this really look?
Thanks in advance!