Common tool Software (recommended) __ Tools

Source: Internet
Author: User
Tinyproxy [Simple and Easy-to-use proxy tool]

Install Tinyproxy

Yum-y Install Tinyproxy

Configure Tinyproxy

Vim/etc/tinyproxy/tinyproxy.conf

Modify port port, defaults to 8888

Port 8888

Comment out Allow to allow all people to access the proxy

Allow 127.0.0.1

Hide the Via request header and remove the following comment

Disableviaheader Yes

For more configuration items, here is a list of the default configuration files that do not need to be configured:

Pidfile "/var/run/tinyproxy/tinyproxy.pid"
LogFile "/var/log/tinyproxy/tinyproxy.log"
LogLevel Info
MaxClients 100
Minspareservers 5
Maxspareservers 20
Startservers 10

3 Start Tinyproxy

Systemctl Start Tinyproxy.service

More commands are as follows:

Systemctl Restart Tinyproxy.service
Systemctl Stop Tinyproxy.service
Systemctl Status Tinyproxy.service
Systemctl Enable Tinyproxy.service

How do you open ports and shut down firewalls in CENTOS7?

Systemctl Stop Firewalld.service #停止firewall
Systemctl Disable Firewalld.service #禁止firewall开机启动

Open port

Firewall-cmd–zone=public–add-port=80/tcp–permanent

Command meaning:
–zone #作用域
–ADD-PORT=80/TCP #添加端口, Format: Port/Communication protocol
–permanent #永久生效, failure after reboot without this parameter

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.