Restrict Outbound SMTP Traffic

Answered Question
Apr 16th, 2009
User Badges:

I need to restrict outbound smtp traffic to internal host 192.168.1.12 I have applied the following but no success:


access-list outgoing permit tcp host 192.168.1.12 any eq smtp

access-list outgoing deny tcp host 192.168.1.0 any eq smtp

access-list outgoing permit ip any any

access-group outgoing in interface inside

Correct Answer by acomiskey about 8 years 2 weeks ago

Change...


access-list outgoing deny tcp host 192.168.1.0 any eq smtp


to


access-list outgoing deny tcp 192.168.1.0 255.255.255.0 any eq smtp


  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Correct Answer
acomiskey Thu, 04/16/2009 - 05:49
User Badges:
  • Green, 3000 points or more

Change...


access-list outgoing deny tcp host 192.168.1.0 any eq smtp


to


access-list outgoing deny tcp 192.168.1.0 255.255.255.0 any eq smtp


Actions

This Discussion