
Hands-on with a Fixed IP Proxy Server
Recently a lot of friends do data collection asked me, they ride static proxy always be site IP blocking how to do? Today I will take the home with ipipgo static residential agent to give an example, teach you how to play the fixed IP agent.
Choose the right tool for the job
First of all, we need to understand what equipment we need:
1. Reliable static IP provider (here must be amenable to ipipgo's static residential package, 50w + real residential IP)
2. Proxy software that can change the configuration (Squid or Nginx is recommended)
3. At least 1 cloud server (configuration does not need to be too high, 1 core 1G enough)
Here focus on ipipgo static IP advantage, their IP are local operators resources, each IP can be fixed for up to 30 days. I used to use another family's IP three days or two on the failure, changed to ipipgo stability directly after pull full, do long-term data monitoring never dropped the chain.
Four Steps to a Practical Build
Step 1: Get a fixed IP
Go to the ipipgo website and pick a static residential package, we recommend that newbies start with the pay-per-use one. They have a super handy IP extraction feature in the backend that can directly sift countries, cities and even carriers.
Python Sample Code
import requests
api_url = "https://api.ipipgo.com/getip"
params = {
"type": "static",
"country": "us",
"city": "los_angeles",
"protocol": "socks5"
}
response = requests.get(api_url, params=params)
print(response.json())
Step 2: Set up a proxy service
Taking Ubuntu as an example, installing Squid is a matter of three commands:
sudo apt-get update
sudo apt-get install squid -y
sudo systemctl start squid
Change the configuration file to /etc/squid/squid.conf, focusing on these three changes:
- http_port changed to 3128
- Add acl to allow all source IPs
- Configure forwarded_for to be set to delete
Step 3: Bind a fixed IP
Bind the requested static IP to the server in the ipipgo console. Here's a tip - their IPs support theCity-level precision positioningIt's good for localization business.
Step 4: Test connectivity
Use the curl command to test if the proxy is working:
curl -x http://你的代理IP:端口 http://ipinfo.io/ip
Here's a guide to avoiding the pitfalls
A common mistake newbies make:
1. 没关服务器防火代理(记得开对应端口)
2. Proxy configuration permissions are too loose (whitelisting is recommended)
3. The same IP request too often (with ipipgo's rotation function)
My own configuration program is: use Nginx as a reverse proxy + ipipgo static IP pool. This ensures that the IP is fixed, but also can switch the backup IP at any time, business continuity and stability directly doubled.
Frequently Asked Questions
Q: What is the difference between a static IP and a dynamic IP?
A: Static IP is like a fixed workstation, which is not changed for a long time (suitable for the scenario that needs to keep logging in); Dynamic IP is like a mobile seat, which is changed regularly (suitable for the demand of large amount of collection).
Q: Why do you recommend ipipgo's static homes?
A: Three hardcore advantages:
- Real home broadband IP, won't be used as a robot by websites
- Support socks5 and http dual protocols
- Accurate positioning down to the city level
Q: What should I do if my agent is slow?
A:先检查服务器带宽,再测本地到代理服务器的。如果是跨国业务,建议用ipipgo的跨境专线,能压到2ms以内。
Finally, a real case: a cross-border e-commerce friends, before the use of public agents always lose a single. After switching to ipipgo static proxy, the checkout success rate soared from 67% to 92%, which is the magic of fixed IP.

