Usually, in some office environments, the external network IP is restricted. At this time, you can bypass the restriction through the proxy server and access the website at will.
1. Install squid
yum install squid
2. Configuration
vi /etc/squid/squid.conf
Revise
- http_access deny all为http_access allow all
- http_port 8000
Add configuration
dns_nameservers 8.8.8.8
cache_mem 60 MB
3. Create a swap directory
# cd /usr/sbin/
# ./squid -z
4. Start and check
# ./squid
# netstat -ntl
5. Set up a proxy server in IE
Fill in your own cloud server IP address and port
Open web test....OK
6. Set squid to start at boot
chkconfig --level 35 squid on
For more detailed settings, please refer to: https://blog.csdn.net/zzulp/article/details/17763527