SSH Tunneling on Android for Secure Web Browsing
Productivity Sauce
When you are on the move, you can easily secure your Internet connection by setting up an SSH tunnel, provided you have a remote SSH server to connect to. Creating an SSH tunnel on Linux is a matter of executing the ssh -ND 9999 user@remotehost command in the terminal. But what if you are using an Android device when you are out and about? ConnectBot has got you covered. This SSH client app can be used to set up an SSH tunnel by configuring a so-called port forward. To do this, launch ConnectBot and establish a connection to an SSH server.
Press then the Menu button and tap on Port Forwards. Press again Menu and tap on Add port forward. Give the new port forward a name, select Dynamic (SOCKS) from the Type list, and specify the desired source port (e.g., 8080), and press the Create port forward button. From now on, ConnectBot will automatically establish an SSH tunnel every time you connect to the remote SSH server.
To use the SSH tunnel you need a browser that supports proxy servers. To enable proxy support in the Mozilla Firefox browser for Android, you need to install the Proxy Mobile add-on. In Firefox, switch to the Add-ons section, search for Proxy Mobile and install the add-on. Restart the browser and switch to the add-on Options section. Enter 127.0.0.1 to the SOCKS Proxy Host field and 8080 to the SOCKS Proxy Port field. That's all there is to it. You can now browse the web through the established SSH tunnel.
Comments
comments powered by DisqusSubscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
Fedora 41 Beta Available with Some Interesting Additions
If you're a Fedora fan, you'll be excited to hear the beta version of the latest release is now available for testing and includes plenty of updates.
-
AlmaLinux Unveils New Hardware Certification Process
The AlmaLinux Hardware Certification Program run by the Certification Special Interest Group (SIG) aims to ensure seamless compatibility between AlmaLinux and a wide range of hardware configurations.
-
Wind River Introduces eLxr Pro Linux Solution
eLxr Pro offers an end-to-end Linux solution backed by expert commercial support.
-
Juno Tab 3 Launches with Ubuntu 24.04
Anyone looking for a full-blown Linux tablet need look no further. Juno has released the Tab 3.
-
New KDE Slimbook Plasma Available for Preorder
Powered by an AMD Ryzen CPU, the latest KDE Slimbook laptop is powerful enough for local AI tasks.
-
Rhino Linux Announces Latest "Quick Update"
If you prefer your Linux distribution to be of the rolling type, Rhino Linux delivers a beautiful and reliable experience.
-
Plasma Desktop Will Soon Ask for Donations
The next iteration of Plasma has reached the soft feature freeze for the 6.2 version and includes a feature that could be divisive.
-
Linux Market Share Hits New High
For the first time, the Linux market share has reached a new high for desktops, and the trend looks like it will continue.
-
LibreOffice 24.8 Delivers New Features
LibreOffice is often considered the de facto standard office suite for the Linux operating system.
-
Deepin 23 Offers Wayland Support and New AI Tool
Deepin has been considered one of the most beautiful desktop operating systems for a long time and the arrival of version 23 has bolstered that reputation.
tunneling
not proxydroid, but something from same dev
proxydroid
proxydroid is another alternative which will set the proxy server for all running android applications.