Restrict Outbound SMTP Traffic

Answered Question
Apr 16th, 2009

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

I have this problem too.
0 votes
Correct Answer by acomiskey about 7 years 7 months 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

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