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:
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.orgAdd 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
- Open Settings and go to Network.
- Select Proxy.
- Turn on Network Proxy and set Configuration to Manual.
- Under HTTP Proxy and HTTPS Proxy, enter
geo.gw.nyxon.shas Host and8080as Port. - 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:
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 8080gsettings 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:
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
curl https://ipinfo.io/jsonWith 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.