sshtun

command module
v0.0.0-...-83f0cec Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 15, 2022 License: MIT Imports: 9 Imported by: 0

README

Overview

sshtun creates mutiple tunnels like ssh -L

Install

go install github.com/icexin/sshtun

Config

[ssh]
# ssh address
addr="example.com:22"

# ssh user name
user="root"

# ssh user password
password="xxx"

# or ssh private key
keyPath="/Users/icexin/.ssh/id_rsa"

[ports]
# listen on 0.0.0.0:8090 and forward connections to icexin.com:80
8080="icexin.com:80"

# you may specify more tunnels
8090="google.com:80"

Usage

./sshtun

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL