• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
Source Digit

Source Digit

Linux, Ubuntu Tutorials & News, Technology, Gadgets & Gizmos

  • Home
  • How To
  • Ubuntu
  • Instagram
  • Blogging
  • Android
  • WordPress
  • +More
    • Cloud Computing
    • Gadgets
    • Social Media
    • Technology
  • Write for Us
Home / How To / Install sshuttle Transparent Proxy Server on Ubuntu

Install sshuttle Transparent Proxy Server on Ubuntu

By Sourabh / April 20, 2015 Category: How To, Ubuntu

How to install sshuttle Transparent Proxy Server on Ubuntu. sshuttle (proxy-based VPN using ssh) creates a VPN connection from your machine to any remote server that you can connect to via ssh. In simple words, it turn your SSH connection as VPN.

sshuttle proxy server doesn’t need any admin account on the remote system. It supports DNS tunneling and works with Linux and MacOS platforms. Unlike most VPNs, sshuttle forwards sessions, not packets. sshuttle needs that the server has Python 2.3 or higher to work. Also, you must have Root access on the local machine.

You can run sshuttle more than once simultaneously on a single client machine. If sshuttle is run on a router, it can forward traffic for the entire subnet to the VPN.

Install sshuttle on Ubuntu

Open the terminal and run the following command


sudo apt-get update
sudo apt-get install sshuttle

Using sshuttle

sshuttle Syntax is as follow:

sshuttle [options…] [-r [username@]sshserver[:port]] [subnets]

Option details

-r, —remote=[username@]sshserver[:port]

the remote hostname and optional username and ssh port number to use for connecting to the remote server. For example,example.com, testuser@example.com, testuser@example.com:2222, or example.com:2244.

sshuttle Examples

From the machine use the following command:

sudo sshuttle -r username@sshserver 0.0.0.0/0 -vv

Please note that when it starts, sshuttle creates an ssh session to the server specified by the -r option. If -r is omitted, it will start both its client and server locally, which is sometimes useful for testing.

After connecting to the remote server, sshuttle uploads its (python) source code to the remote end and executes it there. Thus, you don’t need to install sshuttle on the remote server, and there are never sshuttle version conflicts between client and server.

 

Tags: Install sshuttle Transparent Proxy Server on Ubuntu, Install sshuttle Ubuntu 14.10, sshuttle Transparent Proxy Server, sshuttle Ubuntu, sshuttle Ubuntu 14.04, sshuttle Ubuntu 15.04, Ubuntu 14.04, Ubuntu 14.10, Ubuntu 15.04

Primary Sidebar

Latest Posts

Ubuntu 25.04 ‘Plucky Puffin’ Is Available To Download

How to Login as Root User in Linux Terminal

Install Firefox In Ubuntu Terminal Command Line

How To Check Kernel Installed Date In Linux Ubuntu

How To List All Kernel Modules That Are Loaded In Ubuntu

Enable Ubuntu Auto Login Without Password

Download Ubuntu 25.04 Official Default Wallpapers

How To Fix Initramfs Error In Ubuntu Command Line

How To Check All Available Kernel Version In Linux Ubuntu

3 Best Artificial Intelligence Domain Name Generators

© 2025 Source Digit • Linux, Ubuntu Tutorials & News, Technology, Gadgets & Gizmos

  • Home
  • About
  • Privacy Policy
  • Terms & Conditions
  • Contact Us
  • Sitemap