8000 GitHub - aguang-xyz/ssh-tunnel: Forward network traffic via SSH tunnel.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

aguang-xyz/ssh-tunnel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SSH Tunnel

  • Forward remote network traffic to local machine.
  • Forward local network traffic to remote server.

Build & Publish

Usage

Remote Port Forwarding

docker run -d \
	--net=host \
	--name ssh-tunnel \
	-e MODE=forward_remote_port \
	-e REMOTE_PORT=80 \
	-e REMOTE_HOST=example.com \
	-e LOCAL_PORT=8080 \
	-v ~/.ssh/:/root/.ssh/ \
	ghcr.io/aguang-xyz/ssh-tunnel:v1.0.1

Local Port Forwarding

docker run -d \
	--name ssh-tunnel \
	-p 8080:8080 \
	-e MODE=forward_local_port \
	-e REMOTE_PORT=80 \
	-e REMOTE_HOST=example.com \
	-e LOCAL_PORT=8080 \
	-v ~/.ssh/:/root/.ssh/ \
	ghcr.io/aguang-xyz/ssh-tunnel:v1.0.1

About

Forward network traffic via SSH tunnel.

Resources

License

Stars

Watchers

Forks

Packages

No packages published
0