IPIPGO ip proxy Squid proxy setup ip: Linux configuration Squid proxy server guide

Squid proxy setup ip: Linux configuration Squid proxy server guide

Teach you to Squid hand in hand to wear a new suit Have been involved in the Linux operation and maintenance of the old iron know, Squid this thing is like a universal socket, plug in the proxy IP can make the traffic to change the face. Today, we do not play false, directly on the hard food - with ipipgo proxy IP to Squid change face. First to the system to make a package sudo ap...

Squid proxy setup ip: Linux configuration Squid proxy server guide

Hands-on with Squid's new suit.

The Linux operation and maintenance of the old iron know, Squid this thing is like a universal socket, plug in the proxy IP can make the traffic change face. Today we do not play false, directly on the hard food - with ipipgo proxy IP to Squid change face.


 First, package your system
sudo apt install squid -y Debian
sudo yum install squid -y Redhat

A dry run in the configuration file

locate/etc/squid/squid.confThis treasure map, the key to change these three places:


http_port 3128
visible_hostname your_server_name
http_access allow all Release permissions during the testing phase.

Remember to renew Squid's life after the change:systemctl restart squid

Put a ipipgo vest on Squid.

Go to the ipipgo website and open an account on theDynamic residential (standard)Woolgathering in the package ($7.67/GB really smells good). After getting the API extraction link:


 Proxy IP Whitelist Configuration Example
acl ipipgo_proxy src "/etc/squid/ipipgo_ips.txt"
http_access allow ipipgo_proxy
configuration item Operating Points
Authentication settings It is recommended to turn on basic auth double authentication
timeout Adjusted to 15-30 seconds depending on type of business

Verify that the configuration works

The whole curl command tries the water:


curl -x http://你的服务器IP:3128 -U username:password http://ipinfo.io

See the return of the IP into ipipgo's address even into, if the car overturned do not worry.Check these three places1. firewall open or not 2. SELinux is not screwing up 3. configuration file has no hand shaking typos

Old Driver QA Time

Q: What should I do if I can't connect after configuration?
A: Look at the squid logs firsttail -f /var/log/squid/access.logThe most common error codes are: ERR_CONNECT_FAIL (network not available), ERR_INVALID_URL (address not in the right format).

Q: What's the best way to improve squid performance?
A: 1. Adjust the cache_mem value (don't exceed the memory 80%) 2. Use ipipgo'sDedicated Static IPPackages to avoid frequent IP changes 3. Enable asynchronous DNS resolution

Q: How do I choose a package for my enterprise level needs?
A: Crawler business closed-eye selectionDynamic Residential (Business)The price of $9.47/GB is able to carry high concurrency; those who need fixed export IPs should choose the one that can carry high concurrency.Static homesI don't think it's a bad idea to buy a fixed identity for 35 bucks.

Say something from the heart.

Used seven or eight agency service providers, ipipgo these three points really top: one is his familyTK LineLatency can be pressed to 200ms, the second is to support socks5 protocols do not have to toss the protocol conversion, the third is the customer service response faster than 120. Recently they got a new feature, in the console can directly generate squid configuration file templates, the newbie thief friendly.

Lastly, I would like to remind all of you to remember to put thehttp_access allow allChange to whitelist mode, don't let your proxy become a public Internet cafe. If you can't figure out the complex configuration, just ask ipipgo tech support for a ready-made solution, which will save you a lot of time compared to doing it yourself.

This article was originally published or organized by ipipgo.https://www.ipipgo.com/en-us/ipdaili/43827.html

business scenario

Discover more professional services solutions

💡 Click on the button for more details on specialized services

New 10W+ U.S. Dynamic IPs Year-End Sale

Professional foreign proxy ip service provider-IPIPGO

Leave a Reply

Your email address will not be published. Required fields are marked *

Contact Us

Contact Us

13260757327

Online Inquiry. QQ chat

E-mail: hai.liu@xiaoxitech.com

Working hours: Monday to Friday, 9:30-18:30, holidays off
Follow WeChat
Follow us on WeChat

Follow us on WeChat

Back to top
en_USEnglish