1.CentOS安裝配置squid
1.1.安裝
yum install -y squid
1.2.修改配置文件
- 在配置文件添加以下2行代碼
acl localnet src 0.0.0.0/0.0.0.0 # add by lishuoboy
http_access allow all # add by lishuoboy
1.3.啟動(dòng)squid
systemctl restart squid
2.win11配置代理
2.1.設(shè)置——網(wǎng)絡(luò)和Internet——代理
2.2.手動(dòng)設(shè)置代理——編輯
2.3.輸入代理服務(wù)器ip和端口——保存
文章來(lái)源:http://www.zghlxwxcb.cn/news/detail-738339.html
3.測(cè)試驗(yàn)證
3.1.關(guān)閉代理
- 百度ip,為自己的ip
文章來(lái)源地址http://www.zghlxwxcb.cn/news/detail-738339.html
3.2.打開(kāi)代理
- 百度ip,為代理服務(wù)器的ip
參考
- https://blog.csdn.net/tiansyun/article/details/131255634
到了這里,關(guān)于CentOS、linux安裝squid搭建正向代理,window11配置正向代理的文章就介紹完了。如果您還想了解更多內(nèi)容,請(qǐng)?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!