Friday, March 12, 2021

Creating VPN tunnel using sshutle with the help of ssh

 
Creating VPN tunnel using sshutle with the help of ssh

1. Install shuttle
$ sudo apt-get install sshuttle -y
$ sudo yum install sshuttle
$ sudo dnf install sshuttle

2. Start the connection
$ sudo sshutle -r jay@192.168.10.20 -x 192.168.10.20 0/0 -vv

user name is the user id on remote system.
IP address is the ip of remove host.
$ curl ipinfo.io

Press CTRL+C to break the VPN connection. within short time, the tunnel will be broken.

No comments:

Post a Comment

Git branch show detached HEAD

  Git branch show detached HEAD 1. List your branch $ git branch * (HEAD detached at f219e03)   00 2. Run re-set hard $ git reset --hard 3. ...