Raspberry Pi is a small single-board computer the size of a credit card, costing around 3000β5000 rubles and consuming less electricity than a light bulb. By connecting it to your home internet, you get a full-fledged proxy server with a real residential IP β the same one used by regular home users. This makes it attractive for arbitrage specialists, SMM professionals, and anyone working with multi-accounting. In this article, we will discuss how to build such a server from scratch, what it can do, and when itβs better to choose commercial residential proxies instead of a homemade solution.
Why you need a home proxy and who it suits
When you buy a proxy from a commercial provider, you pay monthly and depend on someone else's infrastructure. A home proxy on Raspberry Pi is your own server that runs 24/7, consumes about 5 watts of power, and costs very little to maintain. Its main advantage is the IP address of your home internet, which is technically indistinguishable from that of an ordinary user.
Here are the tasks where this is relevant:
- Arbitrage specialists and media buyers β use home IPs to warm up Facebook Ads and TikTok Ads accounts. The algorithms of the platforms trust home addresses more than data center IPs.
- SMM specialists β connect multiple Instagram or VK accounts through one stable home IP when there is no need for geo-rotation.
- Marketplace scrapers β Wildberries and Ozon block home IPs less frequently with moderate requests than data center addresses.
- Ad testers β check how ads look for users from a specific region (your city).
- Developers and techies β build their infrastructure without relying on third parties.
An important limitation: you have one home IP. This means that all profiles in the anti-detect browser connected through this proxy will have the same external address. For mass multi-accounting (20+ accounts), a home Raspberry Pi is not suitable β commercial mobile proxies with IP rotation are needed.
What you need: equipment and requirements
The list of minimum requirements for building a home proxy server is minimal. No special equipment is needed β everything can be purchased from Wildberries, Ozon, or DNS.
| Component | What to choose | Approximate price |
|---|---|---|
| Raspberry Pi | Pi 3B+, Pi 4 (2 GB RAM) or Pi Zero 2W | 2500β6000 β½ |
| MicroSD card | At least 8 GB, 16β32 GB Class 10 recommended | 300β700 β½ |
| Power supply | USB-C 5V / 3A (for Pi 4) or MicroUSB (for Pi 3) | 400β800 β½ |
| Network cable | Ethernet cable to connect to the router | 100β300 β½ |
| Case (optional) | Plastic case with a cooler | 500β1200 β½ |
The total starting budget: from 3500 to 9000 rubles depending on the Pi model. This is a one-time expense β afterwards, you only pay for electricity (about 50β80 rubles per month). For the proxy server, the Raspberry Pi 3B+ model is sufficient β it handles the task under moderate load. If you plan to route large traffic through the proxy or run additional services β take the Pi 4 with 2 GB of RAM.
π‘ Important about your Internet Service Provider
Some providers issue dynamic IPs (which change with each reconnection) or use CG-NAT β this means you do not have a real public IP address. In this case, connecting to your proxy externally will be more difficult. Check with your provider if you have a white (public) IP β sometimes it is provided for free or for a small additional fee of 50β100 β½/month.
Installing the operating system on Raspberry Pi
For the proxy server, we use Raspberry Pi OS Lite β this is a lightweight version of the system without a graphical interface, which consumes minimal resources. All management will be done via the command line (SSH).
Step 1. Download Raspberry Pi Imager
Go to raspberrypi.com/software and download the Raspberry Pi Imager for Windows or macOS. This is the official tool for writing the image to the memory card.
Step 2. Write the image to the card
Insert the MicroSD card into your computer via an adapter. Open Raspberry Pi Imager β select your Pi model β in the OS section, choose Raspberry Pi OS Lite (64-bit) β select the memory card β click "Next". Before writing, the program will prompt you to configure the settings β be sure to do this:
- Enable SSH (check the "Enable SSH" box)
- Set a username and password (for example, user:
pi, create a strong password) - Enter the name of your Wi-Fi network and password (if you are not using Ethernet)
Step 3. First launch and connection
Insert the card into the Raspberry Pi, connect the power. After 1β2 minutes, the device will boot up. Find its IP address in your router's settings (usually in the "Connected Devices" or "DHCP Clients" section). Connect via SSH from your computer β in Windows, open PowerShell or use PuTTY:
ssh [email protected]
Replace 192.168.1.XXX with the actual IP of your Raspberry Pi. After connecting, immediately update the system:
sudo apt update && sudo apt upgrade -y
We also recommend assigning a static IP to the Raspberry Pi in the router settings (binding IP to MAC address) so that the device's address in the local network does not change.
Setting up HTTP/HTTPS proxy via Squid
Squid is a time-tested proxy server that supports HTTP and HTTPS. It is great for browsers, anti-detect browsers, and most tools that work with HTTP proxies. The setup takes about 10β15 minutes.
Installing Squid:
sudo apt install squid -y
Creating a password file for authentication:
sudo apt install apache2-utils -y
sudo htpasswd -c /etc/squid/passwords myuser
Enter a password for the user myuser. This username and password will be used when connecting to the proxy.
Configuring the configuration file:
sudo nano /etc/squid/squid.conf
Find and replace the contents (or add at the end) with the following lines. For simplicity, you can back up the original and create a new config:
# Proxy port
http_port 3128
# Authentication by username and password
auth_param basic program /usr/lib/squid/basic_ncsa_auth /etc/squid/passwords
auth_param basic realm Proxy
acl authenticated proxy_auth REQUIRED
# Allow only authorized users
http_access allow authenticated
http_access deny all
# Hide real IP (anonymous mode)
forwarded_for delete
via off
request_header_access X-Forwarded-For deny all
Save the file (Ctrl+O, Enter, Ctrl+X) and restart Squid:
sudo systemctl restart squid
sudo systemctl enable squid
Your HTTP proxy is ready. Connection details: IP address of Raspberry Pi (or the external IP of your router), port 3128, username and password that you set. Protocol β HTTP.
Setting up SOCKS5 proxy via 3proxy
SOCKS5 is a more versatile protocol than HTTP. It works with any traffic (not just browser traffic), supports UDP, and is better suited for anti-detect browsers like Dolphin Anty, AdsPower, and Multilogin. To set up SOCKS5, we use 3proxy β a lightweight and fast server that works great on the low-powered Raspberry Pi.
Installing 3proxy:
sudo apt install 3proxy -y
Creating a configuration file:
sudo nano /etc/3proxy/3proxy.cfg
Insert the following content:
daemon
log /var/log/3proxy.log D
logformat "- +_L%t.%. %N.%p %E %U %C:%c %R:%r %O %I %h %T"
# Users (username:password in hash)
users myuser:CL:mypassword123
# Authentication
auth strong
# Allow users
allow myuser
# SOCKS5 on port 1080
socks -p1080
Replace myuser and mypassword123 with your details. Save the file and start the service:
sudo systemctl restart 3proxy
sudo systemctl enable 3proxy
Now you have a SOCKS5 proxy running on port 1080. Connection details: IP address of Raspberry Pi, port 1080, username and password. Protocol β SOCKS5.
π Squid or 3proxy β which to choose?
If you are working with anti-detect browsers (Dolphin Anty, AdsPower, GoLogin) β use 3proxy with SOCKS5. It is better compatible and provides more anonymity. Squid with HTTP proxy is convenient for simple tasks: scraping, website testing, automation through simple tools.
How to connect to the proxy externally: port forwarding and DynDNS
If you want to use the home proxy not only from the local network but also from your work laptop, VPS, or any other device on the internet β you need to set up external access. This is done in two steps: port forwarding on the router and binding a dynamic IP to a permanent domain.
Step 1. Port forwarding on the router
Log into your router's control panel (usually 192.168.1.1 or 192.168.0.1). Find the "Port Forwarding" section or "Virtual Servers". Add a rule:
- External port: 1080 (or 3128 for Squid)
- Internal IP: static IP of your Raspberry Pi (e.g., 192.168.1.100)
- Internal port: 1080 (or 3128)
- Protocol: TCP
After this, you can connect to your proxy using the external IP of your router. You can find it on the site 2ip.ru or in your provider's personal account.
Step 2. Dynamic DNS (if IP changes)
If your provider issues a dynamic IP (which changes when the router is rebooted), updating the address in the proxy settings each time is inconvenient. The solution is a DynDNS service that binds a permanent domain name to your changing IP. Popular free services include: DuckDNS, No-IP, Cloudflare (via API).
Example of setting up DuckDNS on Raspberry Pi β register at duckdns.org, create a subdomain (e.g., myproxy.duckdns.org), and install the update client:
mkdir ~/duckdns && cd ~/duckdns
echo "echo url=\"https://www.duckdns.org/update?domains=YOURDOMAIN&token=YOUR_TOKEN&ip=\" | curl -k -o ~/duckdns/duck.log -K -" > duck.sh
chmod 700 duck.sh
# Add to cron (update every 5 minutes)
crontab -e
# Add the line:
# */5 * * * * ~/duckdns/duck.sh >/dev/null 2>&1
Now your proxy is accessible at myproxy.duckdns.org:1080 from anywhere in the world.
Connecting the proxy in Dolphin Anty, AdsPower, and GoLogin
After the proxy is set up and accessible externally, connect it to the anti-detect browser. Letβs go through the three most popular tools among arbitrage specialists and SMM professionals.
Dolphin Anty
Open Dolphin Anty β go to the "Proxy" section β click "Add Proxy". Fill in the fields:
- Type: SOCKS5
- Host: your external IP or DuckDNS domain
- Port: 1080
- Username and password: those you set in 3proxy
Click "Check Proxy" β Dolphin will show your IP and country. If everything is set up correctly, you will see your home IP.
AdsPower
In AdsPower, when creating a new browser profile, go to the "Proxy" tab β select "SOCKS5" type β enter the host, port, username, and password. Click the "Test Proxy" button to check the connection. After a successful check, save the profile.
GoLogin
In GoLogin, create a new profile β in the "Proxy" section, select "Manual Setup" β specify SOCKS5 type, host, port, and authentication details. GoLogin will also show the geolocation of the IP β make sure your city is displayed.
β οΈ Important for arbitrage specialists
If you are working with Facebook Ads or TikTok Ads through an anti-detect browser and a home proxy β ensure that the time zone, browser language, and geolocation in the profile match the real location of your IP. Facebook actively checks these parameters. Mismatches are a common reason for bans even when using a home IP.
Limitations of a home proxy and when itβs better to buy a ready-made one
A home proxy on Raspberry Pi is a powerful tool, but it has real limitations that are important to understand before you spend time setting it up.
| Parameter | Home Raspberry Pi | Commercial Proxies |
|---|---|---|
| Number of IPs | 1 (your home) | Thousands with rotation |
| Geolocation | Only your city | Any country and city |
| Speed | Depends on home internet | Consistently high |
| Reliability | Depends on your provider | SLA and uptime guarantees |
| Scalability | Limited (1 IP) | Easily scalable |
| Cost | One-time expense + ~80 β½/month | Monthly subscription |
| Setup | Requires technical knowledge | Ready to use |
When a home Raspberry Pi is a good choice:
- You are warming up 1β3 Facebook or Instagram accounts and do not need IP rotation
- You need a stable residential IP from your city for long-term work
- You want to save on monthly payments with small volumes
- You are technically savvy and enjoy setting things up yourself
When itβs better to choose commercial proxies:
- You need IPs from specific countries or cities (USA, Europe, Asia)
- You are working with 10+ accounts simultaneously and need rotation
- High speed and stability are required β especially for Facebook Ads
- You have no time for setting up and maintaining your own server
- Your provider uses CG-NAT or issues a dynamic IP without the possibility of getting a white one
For large-scale work with advertising accounts and multi-accounting, professional arbitrage specialists use data center proxies for warming up and scraping, while for working directly in ad accounts β residential or mobile IPs. Raspberry Pi can find its niche in such a scheme, but it will not replace commercial infrastructure.
Conclusion: is it worth it
Raspberry Pi as a home proxy server is a truly working solution that makes sense under certain conditions. For 3000β5000 rubles, you get a device that runs around the clock, consumes minimal electricity, and gives you a genuine residential IP from your home provider. The setup takes a few hours with basic technical knowledge.
The main takeaways from this article:
- For SOCKS5 (anti-detect browsers), use 3proxy, for HTTP β Squid
- Assign a static IP to the Raspberry Pi in the local network through the router settings
- To access externally, set up port forwarding and DynDNS (DuckDNS β free)
- Ensure you have a white (public) IP from your provider β without it, external access is impossible
- A home proxy gives one IP β for large-scale multi-accounting, this is insufficient
If your tasks have grown beyond a single IP β for example, you manage 20+ Instagram accounts or run ads from different geos β we recommend looking into residential proxies: they provide thousands of real home IPs from different countries with rotation, without the need to set up your own infrastructure. This allows for rapid scaling without technical headaches.
```