最美情侣中文字幕电影,在线麻豆精品传媒,在线网站高清黄,久久黄色视频

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

分享到微博請遵守國家法律
阳泉市| 丹江口市| 东宁县| 武邑县| 泸西县| 民乐县| 新竹县| 邵阳市| 永修县| 中西区| 阿拉善盟| 张家口市| 富源县| 宁远县| 鱼台县| 孙吴县| 苍梧县| 常熟市| 阿拉善右旗| 申扎县| 从化市| 乐陵市| 佳木斯市| 定襄县| 长沙市| 古交市| 五大连池市| 河源市| 和田市| 惠州市| 海伦市| 万山特区| 奈曼旗| 阳信县| 汽车| 安龙县| 武功县| 伊春市| 台南县| 汝阳县| 蒙山县|