Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Deny SMTP to outside IP

Status
Not open for further replies.

cmal00

IS-IT--Management
Jul 31, 2006
28
US
I need to configue my PIX so that I can deny SMTP to a outside IP that is spamming my email server.
 
You can add this line to your outside ACL -

access-list inbound deny tcp SpammerIP ExternalPixIP eq 25

or you can just block that IP totally -

access-list inbound deny ip SpammerIP ExternalPixIP


Brent
Systems Engineer / Consultant
CCNP, CCSP
 
Thanks Brent, do I need to specify a mask on the source?
 
Nope, just the IP of the spammer. If you have a range of external IP's then you want the mask on that part though.


Brent
Systems Engineer / Consultant
CCNP, CCSP
 
Brent,

I'm getting a error:

ERROR: Source address,mask <spammerIP,externalIP> doesn't pair
I try putting masks on both but still the same

Thx
 
Sorry left off the host keyword -

access-list inbound deny ip host SpammerIP host ExternalPixIP
or
access-list inbound deny ip SpammerIP 255.255.255.255 ExternalPixIP 255.255.255.255 (or whatever network mask you have)


Brent
Systems Engineer / Consultant
CCNP, CCSP
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top