V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
爱意满满的作品展示区。
cavan
V2EX  ›  分享创造

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

  •  
  •   cavan · 6 小时 59 分钟前 · 395 次点击

    见: 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 去使用,只需要自己封装一下如何配置全局代理地址的功能。

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

    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   5519 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 07:58 · PVG 15:58 · LAX 00:58 · JFK 03:58
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.