This is a discussion on Squid ACL based on protocol AND host? within the Linux Networking forums, part of the Linux Forums category; Is there any way to create Squid ACLs that allow/deny FTP connections to a list of hosts? I am ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
ramon@conexus.net (Ramon F Herrera) writes:
> Is there any way to create Squid ACLs that allow/deny FTP > connections to a list of hosts? > > I am looking for something like this: > > acl ftp proto FTP > acl safehosts dstdomain "/some/file" > http_access allow ftp && safehosts You're so close.... http_access allow ftp safehosts If you don't already have a rule that would deny FTP connections to everywhere else, then add this after the above line: http_access deny ftp -- Michael Fuhr http://www.fuhr.org/~mfuhr/ |