无码av一区二区三区无码,在线观看老湿视频福利,日韩经典三级片,成 人色 网 站 欧美大片在线观看

歡迎光臨散文網(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)代理的評論 (共 條)

分享到微博請遵守國家法律
德州市| 宁德市| 广丰县| 深州市| 喜德县| 运城市| 海门市| 南平市| 玉门市| 蒙山县| 沈阳市| 新昌县| 固原市| 通山县| 洪泽县| 六盘水市| 金溪县| 庆安县| 双牌县| 黎川县| 宣汉县| 依兰县| 清丰县| 乌兰察布市| 新民市| 梁山县| 东安县| 南江县| 南安市| 沾化县| 磐石市| 吉隆县| 兴文县| 治县。| 杭州市| 宣化县| 合阳县| 浦县| 丹东市| 芜湖县| 静海县|