
Proxifier is a popular tool that forces applications to use a proxy, even apps that have no proxy settings of their own. Many people search for "Proxifier for Linux" or "Proxifier Ubuntu", but there is no Linux version: Proxifier is made for Windows, macOS and Android. The good news is that Linux has free tools that do the same job. This guide shows the best ones and how to set them up on Ubuntu.
Quick answerUse proxychains-ng.
sudo apt install proxychains4
sudo nano /etc/proxychains4.conf # add your proxy at the end, e.g. socks5 203.0.113.10 1080
proxychains4 curl https://ifconfig.me # runs curl through the proxy
Is there a Proxifier version for Linux?
No. Proxifier's developer publishes versions for Windows, Windows Server, macOS and Android only. Packages labelled "Proxifier for Linux" on third-party sites are unrelated projects. You can run the Windows version under Wine, but it can't capture traffic from native Linux apps, so it isn't a real substitute.
Option 1: proxychains-ng (per application)
proxychains-ng routes the TCP connections of any program you start with it through one or more proxies (SOCKS4, SOCKS5 or HTTP).
Install
sudo apt update
sudo apt install proxychains4
Configure
Open /etc/proxychains4.conf (or copy it to ~/.proxychains/proxychains.conf for a per-user config) and replace the example at the bottom of the [ProxyList] section with your proxy:
[ProxyList]
socks5 203.0.113.10 1080 username password
# http 203.0.113.20 8080
Keep proxy_dns enabled so DNS lookups also go through the proxy. Use strict_chain to chain several proxies in order, or dynamic_chain to skip dead ones.
Use it
proxychains4 firefox
proxychains4 ssh user@example.com
proxychains4 -q git clone https://github.com/example/repo.git # -q = quiet
Limits: proxychains works with dynamically linked programs that use normal TCP sockets. It doesn't handle UDP, and statically linked programs (many Go binaries) ignore it.
Option 2: environment variables (command-line tools)
Most command-line tools respect the standard proxy variables:
export http_proxy="http://203.0.113.20:8080"
export https_proxy="$http_proxy"
export all_proxy="socks5h://203.0.113.10:1080"
export no_proxy="localhost,127.0.0.1"
Add them to ~/.bashrc to make them permanent. apt needs its own setting: create /etc/apt/apt.conf.d/95proxy with Acquire::http::Proxy "http://203.0.113.20:8080/";.
Option 3: desktop proxy settings (GNOME)
On Ubuntu Desktop, open Settings → Network → Network Proxy, choose Manual and enter your HTTP or SOCKS proxy. Browsers and most desktop apps use it. Apps that ignore system settings still need proxychains or Option 4.
Option 4: route all traffic (transparent proxy)
To send every application through a proxy, like Proxifier's "all connections" mode, use a TUN-based tool such as tun2socks, or a client such as sing-box or Xray in TUN mode. They create a virtual network interface and route system traffic through your SOCKS5 proxy. This covers apps that ignore proxy settings, including UDP traffic if the proxy supports it. Keep a route to the proxy server itself outside the tunnel, or the connection loops.
Which option should you use?
| Need | Best tool |
|---|---|
| A few specific apps through a proxy | proxychains-ng |
| Command-line tools, scripts, apt | Environment variables / apt config |
| Browser and desktop apps | GNOME network proxy settings |
| Everything, including apps that ignore proxies | tun2socks or a TUN-mode client |
Frequently asked questions
Is Proxifier available for Linux?
No. Proxifier is only available for Windows, macOS and Android. On Linux, use proxychains-ng or a TUN-based tool instead.
What is the best Proxifier alternative for Ubuntu?
proxychains-ng for forcing individual programs through a proxy, and tun2socks (or a TUN-mode client) for routing all traffic.
Does proxychains work with SOCKS5 authentication?
Yes. Add the username and password after the port in the [ProxyList] line.
Why does proxychains not work with some programs?
It works by preloading a library into the program, so statically linked binaries and programs that use UDP bypass it. Use a TUN-based tool for those.


