Linux

Use NyxonProxies on Linux: environment variables for the terminal, the GNOME proxy settings for the desktop, apt, and which apps read which setting.

Linux has no single proxy setting. Terminal tools read environment variables, desktop apps follow the desktop's proxy settings, and some programs, such as Firefox and apt, have their own.

The examples use the Residential gateway, geo.gw.nyxon.sh with port 8080. Other products have their own host and port, listed in Endpoints and ports.

Terminal

Most command-line tools read the proxy from environment variables:

bash
export https_proxy="http://USERNAME:[email protected]:8080"
export HTTPS_PROXY="$https_proxy"
export http_proxy="$https_proxy"
export HTTP_PROXY="$https_proxy"
export no_proxy="localhost,127.0.0.1,::1"
export NO_PROXY="$no_proxy"
curl https://api.ipify.org

Add the lines to ~/.bashrc or ~/.zshrc to keep them for new shells. Which tools read which variable is on the Environment variables page.

GNOME desktop

  1. Open Settings and go to Network.
  2. Select Proxy.
  3. Turn on Network Proxy and set Configuration to Manual.
  4. Under HTTP Proxy and HTTPS Proxy, enter geo.gw.nyxon.sh as Host and 8080 as Port.
  5. Click Save.

The page has no fields for a username and password. Chrome asks for them when it first connects, and apps that cannot ask fail to connect. Older GNOME versions show the same fields in a Network Proxy dialog. Other desktops, such as KDE Plasma, have a similar page in their system settings.

The same settings from a terminal:

bash
gsettings set org.gnome.system.proxy mode 'manual'
gsettings set org.gnome.system.proxy.http host 'geo.gw.nyxon.sh'
gsettings set org.gnome.system.proxy.http port 8080
gsettings set org.gnome.system.proxy.https host 'geo.gw.nyxon.sh'
gsettings set org.gnome.system.proxy.https port 8080

gsettings set org.gnome.system.proxy mode 'none' turns it off.

apt

To give apt a proxy of its own, create a file such as /etc/apt/apt.conf.d/95proxy with:

text
Acquire::http::Proxy "http://USERNAME:[email protected]:8080";

HTTPS sources use the same proxy unless you set another one. On shared machines, keep the password out of this file: apt can read credentials from apt_auth.conf instead. Delete the file to go direct again.

Browsers

Firefox has its own proxy settings, see Firefox. Chrome follows the desktop's settings, or takes a proxy at launch, see Google Chrome.

Check the IP

bash
curl https://ipinfo.io/json

With the variables set, it shows a NyxonProxies IP, not your own.

Last updated

Still stuck?

People answer the live chat around the clock. Send the proxy line you used (without the password) and the error you see.