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!

Create inside access list block all 25 except from exchange server

Status
Not open for further replies.

jimw32

IS-IT--Management
Jan 7, 2003
63
US
I need to create an access list that will only allow port 25 traffic outside the pix from my exchange server only. Can some one make a suggestion? I have all incoming going directly to the exchange I just want to make sure we are not sending out spam from a ghost machine.

Thks

Jim
 
You will need to replace <ip address> with the ip of your server

name myserver <ip address>

access-list inside-in remark ! allow your server to smtp out
access-list inside-in permit tcp host myserver any eq smtp
access-list inside-in remark ! deny all other smtp traffic
access-list inside-in deny tcp deny any eq smtp
access-list inside-in remark ! allow the rest of your internet traffic
access-list inside-in permit ip any any

access-group inside-in in interface inside


cheers
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top