Configure NetShare Proxy on Linux

Use your Android phone's internet connection on Linux through NetShare.

Before You Start

Proxy Address

Host: 192.168.49.1
Port: 8282

Method 1 — GNOME (Ubuntu, Fedora, Pop!_OS, etc.)

  1. Open Settings.
  2. Select Network.
  3. Click Network Proxy.
  4. Select Manual.
  5. Enable HTTP Proxy.
  6. Enter:
    Field Value
    Host 192.168.49.1
    Port 8282
  7. Use the same proxy for HTTPS if your desktop provides that option.
  8. Save the settings.

Method 2 — KDE Plasma

  1. Open System Settings.
  2. Select Network → Proxy.
  3. Choose Manual Configuration.
  4. Configure:
    • HTTP: 192.168.49.1 Port 8282
    • HTTPS: 192.168.49.1 Port 8282
  5. Apply the settings.

Method 3 — Command Line

You can temporarily configure the proxy for your current terminal session.

export http_proxy=http://192.168.49.1:8282
export https_proxy=http://192.168.49.1:8282
export HTTP_PROXY=http://192.168.49.1:8282
export HTTPS_PROXY=http://192.168.49.1:8282

Verify:

echo $http_proxy

Testing the Connection

After configuring the proxy:

  1. Open your web browser.
  2. Visit any website.
  3. If pages load successfully, NetShare is working correctly.
✔ Your Linux computer is now using your Android phone's Internet connection through NetShare.

Troubleshooting

Some applications ignore the system proxy settings. Those applications may require their own proxy configuration.