allen08pm 发表于 2014-04-15 11:09

关于squid安全端口的问题

squid服务器 192.168.1.155(并开启vsftp服务)

acl SSL_ports port 443
acl Safe_ports port 80      # http
#acl Safe_ports port 21   # ftp(我没有把端口21作为安全端口)


http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports

后来我在另外一台服务器上连接192.168.1.155的21端口

# nc -w2 -v -t 192.168.1.155 21
Connection to 192.168.1.155 21 port succeeded!
220 (vsFTPd 2.2.2)

疑问:不是应该连接不上吗还是我对squid这个配置理解错了

Any answers will be appreciated
页: [1]
查看完整版本: 关于squid安全端口的问题