Skip to content

v0.3.0 - 新增多级跳板机支持

Choose a tag to compare

@Sesame2 Sesame2 released this 06 Oct 12:35
· 57 commits to main since this release
ced500b

🔄 新增功能:

  • 支持单级和多级跳板机 (Jump Host):
    • 通过 -J 参数指定跳板机,支持单级和多级跳板机连接。
    • 格式支持 user@host:port,多个跳板机用逗号分隔。
    • 自动依次建立 SSH 隧道,最终连接到目标服务器。

📦 示例行为:

# 单级跳板机
gotun -J user1@jump.host.com user2@target.server.com

# 多级跳板机
gotun -J user1@jump1.com,user2@jump2.com user3@target.com
  • gotun 会依次连接跳板机,最终建立到目标服务器的隧道。
  • 适用于需要穿透多层网络的场景。

Full Changelog: v0.2.0...v0.3.0