国产精品天干天干,亚洲毛片在线,日韩gay小鲜肉啪啪18禁,女同Gay自慰喷水

歡迎光臨散文網(wǎng) 會員登陸 & 注冊

【Linux專題】http(s)代理

2023-02-15 14:37 作者:微思網(wǎng)絡(luò)  | 我要投稿



安裝軟件


yum?install?tinyproxy?-y
#?查看配置文件
rpm?-ql?tinyprox



修改配置文件


vim /etc/tinyproxy/tinyproxy.conf

#?Port:?Specify?the?port?which?tinyproxy?will?listen?on.??Please?note
#?that?should?you?choose?to?run?on?a?port?lower?than?1024?you?will?need
#?to?start?tinyproxy?using?root.
Port?8888
#?Allow:?Customization?of?authorization?controls.?If?there?are?any
#?access?control?keywords?then?the?default?action?is?to?DENY.?Otherwise,
#?the?default?action?is?ALLOW.
#?The?order?of?the?controls?are?important.?All?incoming?connections?are
#?tested?against?the?controls?based?on?order.
#允許:自定義授權(quán)控件。如果有的話
#訪問控制關(guān)鍵字,那么默認(rèn)動作是拒絕。否則,
#默認(rèn)操作是允許。
#控件的順序很重要。所有傳入連接都根據(jù)順序?qū)丶M(jìn)行測試。
#?Allow?127.0.0.



添加防火墻策略


firewall-cmd?--add-port=8888/tcp
firewall-cmd?--add-port=8888/tcp?--permanent
firewall-cmd?--list-all



啟動服務(wù)


systemctl?enable?tinyproxy.service
systemctl?status?tinyproxy.service
systemctl?start?tinyproxy.service
systemctl?restart?tinyproxy.servic



查看端口


netstat?-tnp



查看日志


tail?-f?/var/log/tinyproxy/tinyproxy.lo



【Linux專題】http(s)代理的評論 (共 條)

分享到微博請遵守國家法律
抚松县| 五大连池市| 扎赉特旗| 威远县| 德保县| 泸定县| 毕节市| 临沂市| 峨山| 武功县| 星子县| 永川市| 右玉县| 茌平县| 陇川县| 绥德县| 通化县| 正定县| 巴彦淖尔市| 孟州市| 建始县| 安化县| 凉城县| 二连浩特市| 修水县| 太原市| 临漳县| 肃宁县| 尉氏县| 龙南县| 翁源县| 鹰潭市| 江陵县| 兴化市| 吴堡县| 宁阳县| 新民市| 临朐县| 格尔木市| 蛟河市| 桦甸市|