- Host
- gw.prokso.com
- Port
- 823 HTTP · 824 SOCKS5 - new IP per request · 10000–20000 sticky session, HTTP(S) and SOCKS5
- Username and password
- in your dashboard, on the plan page
Your dashboard generates ready-made lines in the format you need: choose the country, IP type and protocol.
- Terminal: the protocol://username:password@host:port format in the http_proxy and https_proxy variables
- GNOME: only the host and port in Manual mode, the IP whitelist instead of a password
- A double check: curl https://api.ipify.org in the terminal and My IP in the browser
Video transcript
Prokso proxies in Linux.
First, get your proxy details from the dashboard: host, port, username and password. They are on the plan page, in the Access block.
On Linux, terminal commands take the proxy from the http_proxy and https_proxy variables. Put the username and password right into the address, and to keep it permanent, add the variables to your .bashrc file.
Run the example: the output should show the proxy IP, not yours. On port 823, every run gets a new address.
The full guide with examples is on the Prokso website.
A step-by-step guide to connecting Prokso proxies on Linux (Ubuntu). It takes a few minutes.
Step 1. Two formats for Linux: host and port for GNOME, a URL for the terminal
In Linux the proxy is set in two independent places, and each expects its own format. For the system proxy in the Network proxy panel, the GNOME help describes the Manual method with an address and port for HTTP, HTTPS, FTP and SOCKS. The terminal reads the http_proxy and https_proxy variables, and they need the full address with the username and password.
For the terminal, choose the protocol://username:password@host:port format and the HTTP(S) protocol in the dashboard generator: you get the line http://USERNAME:PASSWORD@gw.prokso.com:823, which goes into export unchanged. For GNOME you need only gw.prokso.com and the port, and the IP whitelist replaces the password, because the GNOME help does not describe a username or password for this panel.
Port 823 gives a new IP for every request, sticky ports 10000-20000 keep one address for 1 to 120 minutes. Either works for apt or pip. The country is written in the line's username, for example username__cr.ua.

Step 2. System proxy in GNOME
Open Settings → Network → Network proxy and choose the Manual method. For HTTP and HTTPS enter gw.prokso.com and port 823 or a sticky 10000-20000 port; for SOCKS use a sticky 10000-20000 port (one IP) or 824 (a new IP for every request).
For this method the GNOME help describes only the address and port and says nothing about a username or password. So add your IP to the IP whitelist (no password) block on your plan page in the dashboard, and for commands with a username and password use the terminal variables from the next step.
Step 3. Proxy for the terminal
Terminal tools (curl, wget, apt, pip) read the proxy from the http_proxy and https_proxy variables. The username and password go right into the address. The code below works until you close the terminal.
# proxy for the current terminal session
export http_proxy="http://USERNAME:PASSWORD@gw.prokso.com:823"
export https_proxy="$http_proxy"
export HTTP_PROXY="$http_proxy"
export HTTPS_PROXY="$http_proxy"
# check
curl https://api.ipify.orgStep 4. Make it permanent
Add these lines to ~/.bashrc. If your password contains @, : or #, encode them (e.g. @ → %40), or the address will break. The example uses a sticky port (10001) so the IP stays the same across commands.
# add to ~/.bashrc so every new terminal uses it
echo 'export http_proxy="http://USERNAME:PASSWORD@gw.prokso.com:10001"' >> ~/.bashrc
echo 'export https_proxy="$http_proxy"' >> ~/.bashrc
source ~/.bashrc
# turn the proxy off in the current session
unset http_proxy https_proxy HTTP_PROXY HTTPS_PROXYStep 5. curl in the terminal and My IP in the browser: two separate checks
Check the terminal with the curl https://api.ipify.org command in the same window where you ran export. The response is one line with an IP, and it should be the proxy address. If your own address is printed, the variable is not set in this session: look at echo $https_proxy.
The GNOME system proxy is checked separately, in a browser that uses the system settings: in Chrome or in Firefox with "Use system proxy settings" selected. Open the My IP page: it should show the IP and country from the plan. A match in one check says nothing about the other, because the terminal and graphical programs take the proxy from different places.

Two different proxies: for windows and for the terminal
On Linux these are two independent settings. The GNOME system proxy is used by graphical programs. The terminal does not see it: commands take the proxy from environment variables. So "it works in the browser but not in the terminal" is a normal situation, not an error.
The http_proxy and https_proxy variables are understood by curl, wget, pip, git, and most utilities. Some programs read only the uppercase variant, so the examples set both.
If commands do not go through the proxy
- The variables are set in a different terminal.
exportapplies only in the session where it was run. Check with theecho $https_proxycommand. - Special characters in the password. The characters
@,:, and#in the address must be encoded, otherwise the address is parsed incorrectly. - The no_proxy variable is set. Addresses listed in it go directly. See its value with the
echo $no_proxycommand. - The command is run with sudo. By default sudo does not pass environment variables on, so use
sudo -E. - The program ignores the variables. Some have their own proxy option in the settings or on the command line.
Services and Docker
systemd services and Docker do not read ~/.bashrc. For them the proxy is set in their own settings: in the service file or in the Docker configuration. An export in the terminal does not apply to them.
How to keep the password out of sight
An address with the username and password in ~/.bashrc is stored in plain text, and a command with the password stays in the terminal history. On a shared server, turn on access by IP instead of a password: add the server's address to the "IP whitelist (no password)" block on the plan page and use the proxy address without a username.
If the proxy does not work
FAQ
Why doesn't my browser use the system proxy?
Firefox has its own network settings - choose Use system proxy settings there. Chrome and Chromium pick up the GNOME system proxy automatically.
How do I send the terminal through SOCKS5?
Set export all_proxy="socks5h://USERNAME:PASSWORD@gw.prokso.com:824". For one IP swap 824 for a sticky 10000-20000 port, which accepts SOCKS5 too. curl and many other tools understand the variable, but not all - keep HTTP for apt.
How do I check that a request went through the proxy?
Run curl https://prokso.com/ip: it returns the address that sites see. It should differ from your computer's address.
Does the proxy work for git?
For repositories over HTTPS, yes: git reads https_proxy. Addresses of the form git@... use SSH, and the variables do not apply to it.
Was this guide helpful?
Thanks for your feedback!
Sorry about that. Tell us which step you got stuck on and we will help.