Skip to content

rederick29/ssh-vpn-script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

ssh-vpn-script

Short bash script that sets up a vpn-like connection using the SSH -w tunnel option. Works only with IPv4 and point-to-point (layer-3) tunnels. Also sets up routes correctly even with ProxyJumps.

Requires ip and sysctl on the client; ip, iptables, sysctl on the remote.

The script is meant to be run as root, and also it needs to be able to run the previous commands on the remote so probably also root there. I haven't done a lot of testing and it might be buggy but it works on my machine ™️.

About

short script for setting up a pseudo-vpn tun iface over ssh with routing

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages