SSH Tunnel Manager

Post your working scripts, libraries and tools for AHK v1.1 and older
User avatar
elModo7
Posts: 217
Joined: 01 Sep 2017, 02:38
Location: Spain
Contact:

SSH Tunnel Manager

Post by elModo7 » 18 Jan 2024, 13:37

ImageSSH Tunnel Manager

Tunnel Manager is a tool for proxying, pivoting and securing connections over SSH.
It's basically a GUI wrapper for plink but adds profiling, notifications and is focused on automation and session persistence.
It is written mainly in AutoHotkey and the GUI framework that I used is Neutron.ahk, so it has a little bit of HTML, CSS (Bootstrap 3), JS and JQuery.

GitHub Page: https://github.com/elModo7/Tunnel_Manager
A star would be greatly appreciated! ;)

Download the latest compiled version here.

Program Preview:
Image

Use cases:
  • Example of Tunnel Manager Use Cases and Scenarios Sharing Network Access - If you need to work from home and access your company's internal network, which only allows access from within the network, you can install the Tunnel Manager agent on a computer located within your company's premises. This will enable you to utilize its internet access1 without depending on the company's remote access tools.
  • Access to Devices Without VPN Support - Suppose you have a device that does not support VPN, such as an IoT sensor, CCTV camera, or smart TV, and you want to access them from your laptop on a different network that cannot directly reach the device. In this case, you can install the Tunnel Manager agent on a device within the same network as these devices. Then, you can connect using your laptop through Tunnel Manager from anywhere.
  • Using Native Services like RDP/SSH Across Different Networks - You can use Tunnel Manager to access your computer's native services like RDP (Remote Desktop) or SSH directly, without relying on third-party services. This is especially useful when both machines cannot reach each other directly, and neither has a public IP address. Tunnel Manager allows you to use your SSH or RDP client (e.g., OpenSSH client or Microsoft Remote Desktop) without the need for any modifications or additional software to connect to your computer.
  • Publishing a Local Webserver - Suppose you have a webserver running on your local network that you want to make accessible on the internet. If your ISP doesn't provide you with a public IP address or you wish to let others publish their webservers on your public IP address from their local networks, Tunnel Manager can help you publish your webserver to the internet.
Features:
  • Support Local, Remote and Dynamic SSH Tunneling
  • Server and Tunnel Profiling
  • Neutron Web UI
  • Console Output
  • Auto Accept SSH Key
  • Silent Mode with Profile Select / Silent/NoGUI (1.2.24+)
  • Hide Tray icon option for Shadow Mode (1.2.16+)
  • DRM Copy Protection included via Online Validation of Serial based on Hardware Fingerprint
  • Temporary Tunnels without Saving
  • Relaunch Tunnel on disconnect
  • No need for a full reload on profile select
  • Online version checker based on GitHub repo (1.3.0+)
  • Allow enabling/disabling per proflie+tunnel configuration
  • Keep track of last used profile (path)
  • Config checks on repeated/incorrect tunnel configurations (Improved in 1.2.11+)
  • DRM Two Way Encryption (1.2.10+)
  • Quick Copy Tunnel (1.2.14+)
  • QR Code Generator (1.2.17+) / Press Ctrl while the app is active and click on Copy Link Button
  • Discord WebHook Notify / Telegram API Notify / PushBullet Notify (1.2.18+)
  • Console Output Toggle (1.2.21+)
  • Reload Tunnel While Running (1.2.23+) / Allows restarting the tunnel in case configuration changed and you are working remotely
  • Quick Hide/Show by Double Clicking Tray Icon (1.2.23+)
  • Increased Command Line Tools and Tray Actions (1.2.24+)
  • Parameter info on cmd (chalk) or msgbox (1.2.24+)
  • Added License (1.2.26+)
  • Auto Update PLink Client to the latest version on first run (1.2.28+)
  • Option to download latest PLink or use built in on first run or proxy deletion (1.2.29+)
  • Fully Open Source (1.2.29+)
  • Remove DRM Protection (No Serial Required) (1.2.29+)
Params:
  • -nogui (Disables GUI)
  • -silent (Disables Tray Notifications)
  • -notray (Removes Tray Icon)
  • -hidden (Starts Hidden)
  • -autostart (Starts Tunneling on Startup)
  • -profile <profile_path>
Recommended sshd_config match user config:

Code: Select all

GatewayPorts yes
AllowTcpForwarding yes
X11Forwarding no
AllowAgentForwarding no
ForceCommand /bin/false
TODO:
  • TCP / Websocket Interop (Server)
Requires:
  • Windows 7 x64 (Windows 10+ Recommended)
  • AutoHotkey U64 1.1.31+
DROPPED / DISCARDED:
  • Keep Serial active for 7 days before asking again (DRM Security Risk)
  • Change order of each individual Tunnel
  • IRC Notify
  • IRC Control Plugin
  • Telegram API Control Plugin
BUGFIXES:
  • Too Many Hotkeys Triggered (1.2.22)
  • Profile Param had to be last param or else it wouldn't load (1.2.28)
Last edited by elModo7 on 18 Jan 2024, 15:00, edited 1 time in total.


Post Reply

Return to “Scripts and Functions (v1)”