Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/javierckr/Vpn-over-ssh

Bash script for tunneling all traffic over ssh
https://github.com/javierckr/Vpn-over-ssh

bash linux ssh vpn vpn-tunnel

Last synced: about 2 months ago
JSON representation

Bash script for tunneling all traffic over ssh

Awesome Lists containing this project

README

        

============
Vpn-over-ssh
============
Bash script for tunneling all traffic over ssh

Requirements
============

Only tested on Linux, you may need root.

This script will transform your ssh server into a gateway, but all changes it makes are restored at
reboot.

The script uses ip tables and iproute2, usually installed by default.

Dependencies
============

Client packages: ``bash iproute2 systemd openssh bind9-host``

Server packages: ``bash iproute2 iptables openssh sudo``

Use instructions
================

1. Download vpn.sh
2. Change permisions so you can execute ``chmod +x vpn.sh``
3. Run ``# ./vpn.sh``

Install
=======

.. code-block:: bash

# cp vpn.sh /usr/local/sbin/vpn