V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
爱意满满的作品展示区。
cavan

我写了一个基于 ssh 的 https/http/socks5 多支持的代理转发 server

  •  
  •   cavan · Oct 21, 2024 · 2076 views
    This topic created in 565 days ago, the information mentioned may be changed or developed.

    见: https://github.com/cavanwang/socks5-proxy-over-ssh

    windows 运行方式(目前在 windows10 上测试):.\socks5-proxy-over-ssh.exe -listen_addr 192.168.3.10:1090 -ssh_addr <remote-ip>:22 -ssh_password <password> -ssh_timeout 5 -ssh_user root

    支持优雅关闭,关闭后自动修复 windows 注册表中全局代理配置。

    除了 main.go ,sshproxy.go 也可以直接作为库,供 linux/mac 去使用,只需要自己封装一下如何配置全局代理地址的功能。

    支持失败自动重连,欢迎来踩。。。

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   4547 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 10:06 · PVG 18:06 · LAX 03:06 · JFK 06:06
    ♥ Do have faith in what you're doing.