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!

squid access-list

Status
Not open for further replies.
Jan 1, 2001
84
0
0
LY
Hi
I have a cache behind PIX & I want to make access-list for outbound traffic, so which ports I must open to let outbound traffic.
 
...Not sure I follow. All outbound traffic is allowed by default. Do you have an access-list blocking some traffic? Probably the best way to start determining this is with a syslog server, watching what traffic gets dropped.

-gbiello
 
Hi
Yes, I want to block all outbound traffic except the ones needed by Squid
thks
 
You just need to permit th etraffic you want you don´t have to deny traffic because the pix denies all traffic by default!
 
HI.

I suggest this:

Start by allowing only the minimum traffic that you need, which is outbound smtp traffic from mail server, outbound http,https and ftp from proxy, and outbound DNS from internal DNS server. something like this:

access-list frominisde permit tcp host DNSSERVER any eq 53
access-list frominisde permit udp host DNSSERVER any eq 53
access-list frominside permit tcp host MAIL any eq smtp
access-list frominisde permit tcp host PROXY any eq http
access-list frominisde permit tcp host PROXY any eq https
access-list frominisde permit tcp host PROXY any eq ftp
access-list frominside permit icmp any any
access-group frominisde in interface inside
logging on
logging ....

Now use syslog messages (as gbiello suggested), your own knowledge of the network and common sense to troubleshoot and modify this list as needed.
PDM can help you manage it instead of CLI.

Bye
Yizhar Hurwitz
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top