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

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

分享到微博請遵守國家法律
正阳县| 河源市| 瑞安市| 承德县| 通山县| 浪卡子县| 绥化市| 凉城县| 阜宁县| 新乡县| 武清区| 孟津县| 夏河县| 根河市| 台州市| 惠来县| 盐池县| 清徐县| 兴和县| 崇州市| 琼结县| 康乐县| 吉首市| 利津县| 翁牛特旗| 华蓥市| 衡阳县| 福泉市| 来宾市| 黄平县| 阳江市| 应城市| 城口县| 桐柏县| 永兴县| 枝江市| 宜川县| 来宾市| 怀集县| 娄烦县| 台东县|