Code Monkey home page Code Monkey logo

ssh-tunnel's Introduction

By Willy Gardiol, provided under the GPLv3 License. https://www.gnu.org/licenses/gpl-3.0.html
Publicly available at: https://github.com/gardiol/ssh-tunnel
You can contact me at [email protected]

===

Please refer to https://wiki.gardiol.org/doku.php?id=router:ssh_tunnel

This is a bash script that can create for you resilient SSH tunnels from your home server to one or more extern.

Check the conf/tunnel.conf file and adapt to your needs.

Create one or more "tunnel" files under the tunnels folder.
For example call this "external-server":
REMOTE_SERVER=99.99.99.99
REMOTE_SERVER_SSH_PORT=222 # remote-server SSH port
HOME_SERVER_REMOTE_SSH_PORT=2022 # home-server SSH port mapped on remote server
#SSH_IDENTITY=/root/.ssh/id_rsa.tunnel #optional, if you need a different SSH identity
#REMOTE_USER=tunnel # optional remote server username if different from local server username.

# note: SSH remote access is created automatically, no need to specify it below.

# tunnels for home access from remote
REMOTE_TO_HOME=\
"127.0.0.1:8080:127.0.0.1:80"\
"127.0.0.1:8443:127.0.0.1:8443"

# tunnels for remote access from home
HOME_TO_REMOTE=


ssh-tunnel's People

Contributors

gardiol avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.