We have recently been hit with a mass mailer virus which resulted in blacklisting. I would like to block outbound port 25 traffic from all internal IPs except two but I am having a little bit of trouble getting it to work. Here is the ACL I was told to use but it took down internet access completely.
access-list acl_out permit tcp host X.X.X.X any eq 25
access-list acl_out permit tcp host x.x.x.x any eq 25
access-list acl_out deny tcp any any eq 25
access-list acl_out permit ip any any
access-group acl_out in interface inside
The last line in the ACL gives me another question. I already have two ACLs in my PIX how can I tell which interface they are applied to? Because if one is already applied to the inside interface I should be able to modify it to block the traffic without creating another ACL.
access-list acl_out permit tcp host X.X.X.X any eq 25
access-list acl_out permit tcp host x.x.x.x any eq 25
access-list acl_out deny tcp any any eq 25
access-list acl_out permit ip any any
access-group acl_out in interface inside
The last line in the ACL gives me another question. I already have two ACLs in my PIX how can I tell which interface they are applied to? Because if one is already applied to the inside interface I should be able to modify it to block the traffic without creating another ACL.