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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need some help

Status
Not open for further replies.

nsarisk

MIS
Jun 7, 2004
3
0
0
US
I currently have a pix 515 with a line that has conduit permit tcp host x.y.z.7 eq smtp any. I need to limit this to a block of ips instead of any, and not real sure on how to do it. Any help would be greatly appreciated
 
depends which way you want the access (inbound or outbound). I'd get rid of the conduit and put:
access-list outbound permit tcp host x.y.z.7 <outboundip> <mask> eq smtp
access-group outbound in interface inside

This will restrict host x.y.z.7 to only access the range of ips defined by the outboundip range.

If you want to limit incoming then change it to
access-list inbound permit tcp <outboundip> <mask> host x.y.z.7 eq smtp
access-group inbound in interface outside

this will allow only those ips listed to connect to the x.y.z.7 address using smtp. Note that this must be the external address for inbound traffic unless you've set up a vpn.


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top