SOCKS5 Proxies on a Router and Raspberry Pi
Route your entire network's traffic through a static Pure Connect SOCKS5 proxy — at the router level with OpenWrt or through a Raspberry Pi with redsocks and proxychains. Your dedicated IP is reserved for you for the entire rental period.
Two ways to cover the whole network
You can connect the proxy either on the router itself or on a separate device such as a Raspberry Pi that all traffic passes through. Pick the option that fits your task.
At the router level
Suitable if your router already runs OpenWrt or another firmware with SOCKS5 support. All home network traffic goes through the proxy without configuring each device separately.
Through a Raspberry Pi
A flexible option on full Linux. You install redsocks or proxychains and turn the mini-computer into a transparent gateway or an access point whose traffic all passes through the proxy.
Stock router firmware usually won't work
SOCKS5 support required
The factory firmware of most home routers cannot forward traffic through SOCKS5. Without it, setting up a proxy on the router is impossible.
Custom firmware
The solution is OpenWrt or compatible firmware with redsocks packages. Make sure in advance that your router model supports it.
Access format
The same four values are used everywhere: host:port:login:password. Authentication is by login and password, the IP is static.
An OpenWrt router with redsocks
We forward the network's TCP traffic through a static SOCKS5 proxy right on the router.
Check compatibility
Make sure your router model is supported by OpenWrt and install the firmware following the instructions on the project's official site. This is the most critical step — stock firmware won't work.
Install redsocks
Connect to the router over SSH and install the package:
opkg update
opkg install redsocks iptables-mod-nat-extra
Enter the proxy credentials
Open the redsocks configuration and substitute your host, port, login, and password:
redsocks {
local_ip = 0.0.0.0;
local_port = 12345;
ip = HOST;
port = PORT;
type = socks5;
login = "LOGIN";
password = "PASSWORD";
}
Route traffic through redsocks
Add an iptables rule that sends outgoing TCP traffic to the local redsocks port:
iptables -t nat -A PREROUTING -p tcp \
-j REDIRECT --to-ports 12345
Restart and verify
Restart redsocks, then from any device on the network open an IP-check service. It should show the proxy address, not your home one.
Raspberry Pi with redsocks or proxychains
We turn the mini-computer into a gateway: either transparently for the whole network via redsocks, or for individual commands via proxychains.
Prepare the system
Install a fresh Raspberry Pi OS and update the packages with sudo apt update && sudo apt upgrade.
Install the tools
Install the packages you need depending on the setup you choose:
sudo apt install redsocks proxychains4
Transparent gateway via redsocks
Configure /etc/redsocks.conf with your credentials and forward TCP traffic through iptables — this way all traffic from devices for which the Raspberry Pi is the gateway will go through the proxy:
iptables -t nat -A PREROUTING -i eth0 \
-p tcp -j REDIRECT --to-ports 12345
Individual commands via proxychains
If you don't need a gateway, add the proxy to /etc/proxychains4.conf and run any commands through it:
# /etc/proxychains4.conf
socks5 HOST PORT LOGIN PASSWORD
# run
proxychains4 curl https://ifconfig.me
Verify the route
Run an IP check. The output should show your static Pure Connect proxy address. DNS requests go through a protected route, so your real address is not revealed.
A few tips
- Firmware first, proxy second. If your router doesn't support SOCKS5 in its firmware, start with OpenWrt or use a Raspberry Pi as a separate gateway.
- TCP vs UDP. By default, redsocks routes only TCP through the proxy. Our proxies support UDP and QUIC, but UDP at the network level requires extra configuration (UDP-relay or tun2socks).
- Unlimited traffic. You can push your whole network's traffic through the proxy without worrying about limits — the volume is unlimited and speeds reach up to 1 Gbps.
- One static IP. The dedicated address is reserved for you for the entire rental period, with no changes and no rotation — convenient for stable home network operation.
Need help with a specific router model or configuration? Message support: Telegram or at [email protected].
Frequently asked questions
Yes, but not on just any router. The stock firmware of most home routers cannot work with SOCKS5 at the network level. You need firmware like OpenWrt with packages such as redsocks or similar tools that forward traffic through the proxy. Without SOCKS5 support in the firmware, you will not be able to configure the router.
A Raspberry Pi runs full Linux, so you can easily install redsocks or proxychains on it and configure routing flexibly. You can turn it into a transparent gateway for your entire home network, or use it as an access point whose traffic all goes through a static SOCKS5 proxy.
Access is provided in the host:port:login:password format — that is the server address, port, login, and password. You enter these four values into your redsocks or proxychains configuration. Authentication is by login and password, and the IP stays static for the entire rental period. Questions about credentials — contact support: https://t.me/mCEVRs.
Our proxies support UDP and QUIC, but redsocks by default forwards only TCP. For UDP you need a redsocks module with UDP-relay support or a combination with tun2socks. If UDP at the router level is essential, check the setup with support — we will help you choose a working configuration.
Ready to connect?
Create an account in a minute and get access to 30,000+ servers worldwide.