Get the App
SLTechnology News&Howtos  ›  Servers  › 

How to install and configure TinyProxy under CentOS

Shulou Source: shulou.com Published: 2022-05-31 18:25:26 09月21日 Update

This article mainly explains "how to install and configure TinyProxy under CentOS". The explanation content in this article is simple and clear, easy to learn and understand. Please follow the ideas of Xiaobian slowly and deeply to study and learn "how to install and configure TinyProxy under CentOS" together!

TinyProxyum install -y tinyproxy start, stop, restart #start service tinyproxy start#stop service tinyproxy stop#restart service tinyproxy restart Related configuration

Default Profile Path

/etc/tinyproxy/tinyproxy.conf

Allow all to use proxies, comment Allow 127.0.0.1

# Allow 127.0.0.1

Modify the listening port number, default 8888

Port 1234

Proxy request filtering, example: only allow proxy request anoyi.com content, configured as follows:

#Specify the file location of the filtered content Filter "/etc/tinyproxy/filter"#Use URL filters instead of domainsFilterURLs On#Allow proxies to filter addresses in files, otherwise set to NoFilterDefaultDeny Yes

Then add the following to/etc/tinyproxy/filter:

anoyi.com View proxy request log tail-f/var/log/tinyproxy/tinyproxy.log Thank you for reading, the above is the content of "How to install and configure TinyProxy under CentOS", after learning this article, I believe everyone has a deeper understanding of how to install and configure TinyProxy under CentOS, and the specific use situation needs to be verified by everyone. Here is, Xiaobian will push more articles related to knowledge points for everyone, welcome to pay attention!

Tags: Configuration content agents files learning location slogan address that is ideas situations owners articles logs more comments knowledge knowledge points examples articles Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Technology Xiaomi macOS Docker Microsoft