centos7 代理搭建

========squid

yum install squid

修改/etc/squid/squid.conf配置文件,端口默认3128

http_access deny all改为http_access allow all


初始化

squid -k parse  

squid -z  

遇到WARNING: Could not determine this machines public hostname. Please configure one or set 'visible_hostname'.可以忽略。

===============ss

wget --no-check-certificate https://raw.githubusercontent.com/teddysun/s_install/master/s.sh
chmod +x s.sh
./s.sh 2>&1 | tee s.log

Your Server IP        :  *.*.*.* 
Your Server Port      :  19999 
Your Password         :  passwd
Your Encryption Method:  aes-256-gcm 

windows client地址https://github.com/s/s-windows/releases





你可能感兴趣的:(Linux系统运维)