The right proxy type for Proxychains
Residential proxies with a sticky session are the usual choice for browsing, because the IP address looks like a home connection and stays the same while you work. For heavy use such as video, a time-based Unlimited Datacenter plan avoids paying by the gigabyte.
The values to enter in Proxychains
Every PiratProxies plan comes down to four values: host, port, username and password. Here they are for Residential; your own username and password are on your plan page.
| Host | resi.piratproxies.com |
|---|---|
| HTTP port | 8080 |
| SOCKS5 port | 1080 |
| Username | USERNAME |
| Password | shown on your plan page |
There is no separate country or session field: both are part of the username. Your plan page has a generator that writes it, and Targeting and sessions describes each piece.
Setting it up in Proxychains
- Open the configuration file, usually
/etc/proxychains4.conf. - At the end, under
[ProxyList], replace the example with your proxy: type, address, port, username, password. - Run your command with
proxychains4in front of it.
Code: Proxychains through a proxy
proxychains4.conf
[ProxyList]
socks5 PROXY_IP 1080 USERNAME-country-us-time-600-session-a1b2c3d4 PASSWORDShell
proxychains4 curl https://api.ipify.orgPut your own login from the plan page in place of USERNAME and PASSWORD. The example calls an IP-check service, so what it prints is the address your request came from.
Should Proxychains rotate IPs or keep one?
A device or browser that sends all of its traffic through the proxy behaves like a single visitor, so a sticky session usually fits best: your IP address stays put while you work. Keep in mind that gigabyte plans count everything, so video and big downloads use up a plan fast.
Here is what a sticky username looks like:
USERNAME-country-us-time-600-session-a1b2c3d4When Proxychains will not connect
- Proxychains wants an IP address, not a host name. Find it with
getent hosts resi.piratproxies.comand put it in place ofPROXY_IP. If the connection stops working later, look the address up again. - Keep
proxy_dnsswitched on in the file, so site names are looked up through the proxy. - Error
407means the login was refused. Copy the username and password from your plan page once more, and make sure no space crept in and the username was not cut short. - An IP in the wrong country nearly always comes from the username, since the country code lives there. Other fixes.
Proxychains and proxies: questions
Can Proxychains use a SOCKS5 proxy?
Yes. Point it at port 1080 with the same username and password.
Which PiratProxies plan suits Proxychains best?
Residential proxies with a sticky session are the usual choice for browsing, because the IP address looks like a home connection and stays the same while you work. For heavy use such as video, a time-based Unlimited Datacenter plan avoids paying by the gigabyte.
Words used in this guide: proxy port, proxy format, HTTP proxy, SOCKS5 proxy, proxy checker.
Proxychains belongs to its own developers, and PiratProxies has no connection with them; we name it only to say what this guide covers. Follow the rules of the sites you visit and our acceptable use policy.