All Projects → kingsquare → Docker Tunnel

kingsquare / Docker Tunnel

Licence: isc
a (simple) dockerized ssh tunnel

Projects that are alternatives of or similar to Docker Tunnel

FastTunnel
expose a local server to the internet. 高性能跨平台的内网穿透解决方案 远程内网计算机 域名访问内网站点 反向代理内网服务 端口转发 http代理
Stars: ✭ 815 (+748.96%)
Mutual labels:  tunnel, ssh
gost
GO Simple Tunnel - a simple tunnel written in golang
Stars: ✭ 8,395 (+8644.79%)
Mutual labels:  tunnel, ssh
remotemoe
tunnels to localhost and other ssh plumbing
Stars: ✭ 112 (+16.67%)
Mutual labels:  tunnel, ssh
Secure Wireguard Implementation
A guide on implementing a secure Wireguard server on OVH (or any other Debian VPS) with DNSCrypt, Port Knocking & an SSH-Honeypot
Stars: ✭ 200 (+108.33%)
Mutual labels:  tunnel, ssh
Exodus
network proxy and tunnel (VPN)
Stars: ✭ 432 (+350%)
Mutual labels:  tunnel, ssh
Fasttunnel
NAT 内网穿透 远程内网计算机 域名访问内网站点 反向代理内网服务 花生壳 端口转发 http代理 微信 小程序 expose a local server behind a NAT or firewall to the internet like ngrok and frp. NAT ssh proxy tunnel reverse-proxy
Stars: ✭ 248 (+158.33%)
Mutual labels:  tunnel, ssh
client
Remote access and tunnels to your localhost from everywhere in the world.
Stars: ✭ 25 (-73.96%)
Mutual labels:  tunnel, ssh
Sshmon
Manage and monitor SSH connections.
Stars: ✭ 152 (+58.33%)
Mutual labels:  tunnel, ssh
Openiothub
💖A free IoT (Internet of Things) platform and private cloud. [一个免费的物联网和私有云平台,支持内网穿透]
Stars: ✭ 371 (+286.46%)
Mutual labels:  tunnel, ssh
Nps
一款轻量级、高性能、功能强大的内网穿透代理服务器。支持tcp、udp、socks5、http等几乎所有流量转发,可用来访问内网网站、本地支付接口调试、ssh访问、远程桌面,内网dns解析、内网socks5代理等等……,并带有功能强大的web管理端。a lightweight, high-performance, powerful intranet penetration proxy server, with a powerful web management terminal.
Stars: ✭ 19,537 (+20251.04%)
Mutual labels:  tunnel, ssh
Drawbridge
manage SSH access to multiple applications/environments protected by bastion servers
Stars: ✭ 196 (+104.17%)
Mutual labels:  tunnel, ssh
Python Proxy
HTTP/HTTP2/HTTP3/Socks4/Socks5/Shadowsocks/ShadowsocksR/SSH/Redirect/Pf TCP/UDP asynchronous tunnel proxy implemented in Python 3 asyncio.
Stars: ✭ 692 (+620.83%)
Mutual labels:  tunnel, ssh
Fq Book
📖《这本书能让你连接互联网》详细阐述代理、隧道、VPN运作过程,并对GFW策略如:地址端口封锁、服务器缓存投毒、数字验证攻击、SSL连接阻断做相关的原理说明
Stars: ✭ 2,393 (+2392.71%)
Mutual labels:  tunnel, ssh
Teleconsole
Command line tool to share your UNIX terminal and forward local TCP ports to people you trust.
Stars: ✭ 2,750 (+2764.58%)
Mutual labels:  tunnel, ssh
Inlets Pro
Secure TCP and HTTP tunnels that work anywhere
Stars: ✭ 179 (+86.46%)
Mutual labels:  tunnel, ssh
gost
GO Simple Tunnel - a simple tunnel written in golang
Stars: ✭ 154 (+60.42%)
Mutual labels:  tunnel, ssh
Sish
HTTP(S)/WS(S)/TCP Tunnels to localhost using only SSH.
Stars: ✭ 2,087 (+2073.96%)
Mutual labels:  tunnel, ssh
Corkscrew
Corkscrew is a tool for tunneling SSH through HTTP proxies.
Stars: ✭ 149 (+55.21%)
Mutual labels:  tunnel, ssh
Sshb0t
A bot for keeping your ssh authorized_keys up to date with user's GitHub keys, **only** use if you enable 2FA & keep your keys updates.
Stars: ✭ 260 (+170.83%)
Mutual labels:  makefile, ssh
Stowaway
👻Stowaway -- Multi-hop Proxy Tool for pentesters
Stars: ✭ 500 (+420.83%)
Mutual labels:  tunnel, ssh

Tunnel

This is a simple ssh-tunnel container for easily connecting to other containers / servers elsewhere via a --link-ed tunnel container. This tunnel will use your local SSH-agent to connect to the endpoint thus no need to push your ~/.ssh/ files into the image.

Usage

The full syntax for starting an image from this container:

docker run -d --name [$your_tunnel_name] -v $SSH_AUTH_SOCK:/ssh-agent kingsquare/tunnel *:[$exposed_port]:[$destination]:[$destination_port] [[email protected]][$server]

You can append any ssh parameters

Mac support: Please be aware that with the launch of the Docker for Mac Beta this currently doesnt work on Mac. Please see this note

Examples

  • you would like to have a tunnel port 3306 on server example.com locally exposed as 3306

    docker run -d --name tunnel_mysql -v $SSH_AUTH_SOCK:/ssh-agent kingsquare/tunnel *:3306:localhost:3306 [email protected]

  • you would like to have a tunnel port 3306 on server example.com locally exposed on the host as 3308

    docker run -d -p 3308:3306 --name tunnel_mysql -v $SSH_AUTH_SOCK:/ssh-agent kingsquare/tunnel *:3306:localhost:3306 [email protected]

Using as an Ambassador

This method allows for using this image as an ambassador to other (secure) servers:

docker stop staging-mongo;
docker rm staging-mongo;
docker run -d --name staging-mongo -v $SSH_AUTH_SOCK:/ssh-agent kingsquare/tunnel *:2222:127.0.0.1:27017 [email protected]

docker stop production-mongo;
docker rm production-mongo;
docker run -d --name production-mongo -v $SSH_AUTH_SOCK:/ssh-agent kingsquare/tunnel *:2222:127.0.0.1:27017 [email protected]

use the links in another container via exposed port 2222:

docker run --link staging-mongo:db.staging \
    --link production-mongo:db.production \
    my_app start
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].