Skip to content

Releases: Oaklight/autossh-tunnel-dockerized

v1.6.1

01 Jul 09:53

Choose a tag to compare

v1.6.0 - 网页配置功能上线 / v1.6.0 - Introducing Web-Based Configuration Panel

04 Mar 15:55

Choose a tag to compare

中文版:

本次发布新增了 网页配置功能,用户可以通过网页界面轻松管理 SSH 隧道配置。

主要更新:

  • 网页配置功能:新增 Web 界面,允许用户通过浏览器查看和编辑 config.yaml 文件。
    • 自动备份配置更改。
    • 实时更新隧道配置,无需重启容器。
  • 备份机制:每次配置更新时,系统会自动创建备份文件并保存到 backups 目录。
  • 用户权限检查:在启动容器时检查 /home/myuser/config 目录的用户权限,确保配置文件的安全性和一致性。
  • 文档更新:更新了 README.mdREADME_en.md,详细说明了如何使用网页配置功能。

修复:

  • remote_to_local 模式:修复remote_to_local模式下自定义本地ip的问题。

破坏性变更:


English Version:

This release introduces the Web-Based Configuration Panel, allowing users to manage SSH tunnel configurations through a web interface.

Key Changes:

  • Web-Based Configuration Panel: Added a web interface for viewing and editing the config.yaml file via a browser.
    • Automatically backups configuration changes.
    • Real-time updates to tunnel configurations without restarting the container.
  • Backup Mechanism: Automatically creates backup files and stores them in the backups directory during configuration updates.
  • User Permission Check: Checks the ownership of the /home/myuser/config directory at container startup to ensure the security and consistency of configuration files.
  • Documentation Updates: Updated README.md and README_en.md with detailed instructions on how to use the web-based configuration feature.

Fix:

  • remote_to_local mode: fix local_host customization issue in remote_to_local mode.

Breaking Changes:

None

What's Changed

Full Changelog: v1.5.0...v1.6.2

What's Changed

Full Changelog: v1.5.0...v1.6.0-fix

v1.5.0 - 动态配置重载支持 / v1.5.0 - Support for Dynamic Configuration Reloading

13 Feb 01:03

Choose a tag to compare

中文版:

本次发布新增了动态配置重载功能,并优化了文档说明和内部脚本逻辑。

主要更新:

  • 动态配置重载支持:利用 inotify-tools 实现了对 config.yaml 文件的实时监控,当配置文件发生变化时,容器将自动重载隧道配置,无需手动重启容器。
  • 文档更新:更新了 README.mdREADME_en.md,详细说明了如何使用和配置动态配置重载功能。
  • 稳定性提升:优化了 entrypoint.sh 脚本的逻辑,确保在自动重载过程中保持现有连接的稳定性。

破坏性变更:


English Version:

This release introduces support for dynamic configuration reloading and includes updates to documentation and internal script logic.

Key Changes:

  • Dynamic Configuration Reloading: Implemented real-time monitoring of the config.yaml file using inotify-tools. When the configuration file changes, the container automatically reloads the tunnel configuration without the need to manually restart the container.
  • Documentation Updates: Updated README.md and README_en.md with detailed instructions on how to use and configure the dynamic configuration reloading feature.
  • Stability Improvements: Optimized the logic of the entrypoint.sh script to ensure the stability of existing connections during automatic reloading.

Breaking Changes:

None

Full Changelog: v1.4.0...v1.5.0

v1.4.0 - 支持远程主机转发隧道 / v1.4.0 - Support for Forward Tunneling to Remote Host

03 Feb 17:19

Choose a tag to compare

中文版:

本次发布新增了对远程主机转发隧道的支持,并更新了版本号和文档。

主要更新:

  • 远程主机转发隧道支持:现在支持将本地端口转发到远程主机,增强了隧道的灵活性。
  • 版本号更新:版本号更新为 v1.4.0
  • 文档更新:更新了 README.mdREADME_en.md,增加了对新功能的说明。

破坏性变更:


English Version:

This release introduces support for forward tunneling to remote hosts and updates the version number and documentation.

Key Changes:

  • Forward Tunneling to Remote Host: Now supports forwarding local ports to remote hosts, enhancing the flexibility of tunneling setups.
  • Version Bump: The version number has been updated to v1.4.0.
  • Documentation Updates: Updated README.md and README_en.md with explanations for the new features.

Breaking Changes:

None

Full Changelog: v1.3.0...v1.4.0

v1.3.0 - Makefile 增强与脚本优化 / v1.3.0 - Makefile Enhancement and Script Optimization

03 Feb 17:18

Choose a tag to compare

v1.3.0 - Makefile 增强与脚本优化 / v1.3.0 - Makefile Enhancement and Script Optimization

中文版:

本次发布主要增强了 Makefile 并优化了 start_autossh.sh 脚本,以提升构建和运行效率。

主要更新:

  • Makefile 增强:新增 build-test 目标,用于在本地构建镜像并运行测试。
  • 脚本优化start_autossh.sh 脚本现在能够解析更复杂的 remote_port 配置,支持更灵活的隧道设置。
  • 文档更新:更新了 README.mdREADME_en.md

破坏性变更:

  • 配置文件格式remote_port 配置的格式现在支持更复杂的多隧道设置。请参考新的文档更新您的配置文件。

English Version:

This release primarily enhances the Makefile and optimizes the start_autossh.sh script for improved build and runtime efficiency.

Key Changes:

  • Makefile Enhancement: Added a build-test target to build the image locally and run tests.
  • Script Optimization: The start_autossh.sh script now parses more complex remote_port configurations, enabling more flexible tunneling setups.
  • Documentation Updates: Updated README.md and README_en.md.

Breaking Changes:

  • Configuration Format: The remote_port configuration now supports more complex multi-tunnel setups. Please refer to the updated documentation to adjust your configuration files accordingly.

Full Changelog: v1.2.0...v1.3.0

v1.2.0 - 多架构支持与构建自动化增强 / v1.2.0 - Multi-Architecture Support and Enhanced Build Automation

09 Jan 11:44

Choose a tag to compare

本次发布引入了 Docker 镜像的多架构支持,使其能够在多种平台上运行,包括:

  • linux/amd64
  • linux/arm64/v8
  • linux/arm/v7
  • linux/arm/v6
  • linux/386
  • linux/ppc64le
  • linux/s390x
  • linux/riscv64

主要更新:

  • 多架构支持:Docker 镜像现已支持所有基于 Alpine 的架构,适用于多种硬件平台。
  • 构建自动化:新增 Makefile,简化多架构镜像的构建和推送流程。Makefile 提供了构建、推送和清理 Docker 镜像的功能。
  • 动态 UID/GID 支持:改进了用户和组 ID 的处理,确保与主机用户权限兼容。
  • 文档更新:更新了 README.mdREADME_en.md

破坏性变更:

  • 配置文件路径变更:配置文件现在从容器内的 /home/myuser/config/ 读取。请确保在挂载卷时正确映射路径。例如:
    volumes:
      - ./config:/home/myuser/config:ro

This release introduces multi-architecture support for the Docker image, enabling compatibility with a wide range of platforms, including:

  • linux/amd64
  • linux/arm64/v8
  • linux/arm/v7
  • linux/arm/v6
  • linux/386
  • linux/ppc64le
  • linux/s390x
  • linux/riscv64

Key Changes:

  • Multi-Architecture Support: The Docker image now supports all Alpine-based architectures, making it versatile for deployment on various hardware platforms.
  • Build Automation: Added a Makefile to simplify the build and push process for multi-arch images. The Makefile includes targets for building, pushing, and cleaning up Docker images.
  • Dynamic UID/GID Support: Improved user and group ID handling to ensure compatibility with host user permissions.
  • Documentation Updates: Updated README.md and README_en.md.

Breaking Changes:

  • Config File Path Change: The configuration file is now read from /home/myuser/config/ inside the container. Please ensure your volume mappings are updated accordingly. For example:
    volumes:
      - ./config:/home/myuser/config:ro

Full Changelog: v1.1.1...v1.2.0

v1.1.1: 优化 UID/GID 处理逻辑 / Optimized UID/GID Handling Logic

29 Dec 10:07

Choose a tag to compare

本次更新优化了 UID/GID 处理逻辑:

  1. 仅当 HOST_UIDHOST_GID 不同于 1000 时,才会重新创建 myuser
  2. 使用 HOST_UIDHOST_GID 替代 UID,避免 Bash 只读变量冲突。

运行以下命令:

HOST_UID=$(id -u) HOST_GID=$(id -g) docker compose -f compose.custom.yaml up -d --build  

立即升级,体验更高效的容器用户管理!


This update optimizes UID/GID handling logic:

  1. myuser is only recreated if HOST_UID or HOST_GID differs from 1000.
  2. Uses HOST_UID and HOST_GID instead of UID to avoid Bash read-only variable conflicts.

Run the following command:

HOST_UID=$(id -u) HOST_GID=$(id -g) docker compose -f compose.custom.yaml up -d --build  

Upgrade now for more efficient container user management!

v1.1.0 动态设置容器的 UID/GID

29 Dec 10:03

Choose a tag to compare

本次版本引入了 compose.custom.yamlDockerfile.custom,用于动态设置容器的 UID/GID,解决 .ssh 文件夹的权限问题。现在,容器将匹配主机用户的 UID/GID,实现无缝访问。更新的 README 文件提供了清晰的说明。运行以下命令:

This release introduces compose.custom.yaml and Dockerfile.custom to dynamically set the container’s UID/GID, resolving .ssh folder permission issues. Now, the container matches the host user’s UID/GID for seamless access. Updated READMEs provide clear instructions. Run:

UID=$(id -u) GID=$(id -g) docker compose -f compose.custom.yaml up -d --build

立即升级,享受更好的兼容性和安全性!

Upgrade now for enhanced compatibility and security!

v1.0.0 First version!

14 Nov 07:17

Choose a tag to compare

Initial release: Dockerized SSH tunnel manager with autossh and YAML configuration, ready for use.

Full Changelog: https://github.com/Oaklight/autossh-tunnel-dockerized/commits/v1.0.0