
Hands on with building a private IP pool
Recently, old friends doing e-commerce asked me to say that the store opened multiple accounts old platform IP blocking how to do? To put it bluntly, you have to use a proxy IP to cover up. Build your own proxy server is not difficult, we will use the family's unused computer to the whole today, no old equipment at hand with the cloud server can also be.
We'll start work when we have everything we need.
First of all, the hardware configuration, get a device that can be turned on 24 hours is the most critical. Don't throw away your old laptop, just install a Linux system and you're good to go. I take Ubuntu as an example, the memory is recommended to be more than 2G, the hard disk has 20G enough. If you use a cloud server, choose the cheapest package.
Update the system first
sudo apt update && sudo apt upgrade -y
Install the necessary tools
sudo apt install net-tools vim -y
The right tool saves half the effort.
Proxy software is recommended to use Squid, this thing is like a smart faucet, can control the flow direction. Don't be fooled by all the fancy software, newbies use this most real. The installation commands are simple:
sudo apt install squid -y
Don't rush to start up after installing, change the configuration file first. Find the/etc/squid/squid.confThis document, focuses on three changes:
| parameters | recommended value |
|---|---|
| http_port | 3128 |
| visible_hostname | Make up your own name. |
| acl localnet src | Change to an allowed IP segment |
Picking up outside help is more powerful
Relying on your own IP alone is definitely not enough, and this time you have to find a reliable proxy service provider. RecommendedipipgoThe family's resources, their family IP pool is very deep, more than 200 countries around the world have lines. Especially for those who do cross-border e-commerce, using their TK line is a stable batch.
How to connect to a third party IP? Just add forwarding rules in Squid configuration:
cache_peer Replace with ipipgo-provided IP parent 80 0 no-query
A practical guide to avoiding the pit
Three common stupidities that newbies make:
1. The firewall is not open (remember to open port 3128)
2. Configuration file changed without restarting the service (sudo systemctl restart squid)
3. No connectivity test (curl -proxy http://你的IP:3128 ifconfig.me)
Frequently asked questions on demining
Q: Why do I ride agents at a snail's pace?
A: 80% of the local bandwidth is not enough, with ipipgo's dedicated static IP can be a lot faster!
Q: What should I do if I always get a message about authentication failure?
A: Check the acl configuration of Squid, or directly use the ipipgo client configuration-free
Q: IPs failing after use?
A: In this case, you have to use a dynamic residential IP, ipipgo's standard version of more than 7 yuan 1G quite cost-effective!
How to play for advanced players
If the business volume up, it is recommended to directly on the ipipgo enterprise package. 9 yuan more than 1G that version with intelligent routing function, automatically select the optimal line. Their customized solutions are also quite flexible, before a friend of the ticket, specifically customized performance city IP, the success rate of the ticket directly doubled.
Lastly, I would like to say that the main purpose of the proxy server is to provide flexibility, but if you really want to use it on a large scale, you should give it to a professional. Like ipipgo this kind of charge transparent service provider, than self-tossing much more worry. Especially their static residential IP, 35 dollars a month fixed does not change, suitable for long-term tasks.

