Search squid archive

Allowing a port only to certain IP/host

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello everyone, I need to enable port 22 in squid but only to a certain server (host.domain.com) in particular, so that the rest of the world cannot be accessed via SSH.
I would like to know this is the right way to do it:

# SFTP policy
acl SSH_port port 22
acl SFTP_policy dst 1.2.3.4
http_access allow SFTP_policy SSH_port localnet
[...]
http_access deny !Safe_ports
[...]

I'd appreciate your comments.
Kind regards
Gabriel
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux