Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 3 months ago
JSON representation
Bash script for tunneling all traffic over ssh
- Host: GitHub
- URL: https://github.com/javierckr/Vpn-over-ssh
- Owner: javierckr
- License: gpl-3.0
- Created: 2021-05-24T18:03:55.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-27T18:59:49.000Z (about 2 years ago)
- Last Synced: 2024-07-30T21:00:39.814Z (6 months ago)
- Topics: bash, linux, ssh, vpn, vpn-tunnel
- Language: Shell
- Homepage:
- Size: 44.9 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
============
Vpn-over-ssh
============
Bash script for tunneling all traffic over sshRequirements
============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