This PR implements comprehensive SOCKS5 proxy support with proxy chain functionality across all SSH operations in Termix. Users can now configure either a single SOCKS5 proxy or a chain of multiple proxies for all SSH connections.
Features
SOCKS5 Proxy Modes:
Single Proxy: Connect through one SOCKS5 proxy server
Proxy Chain: Connect through multiple SOCKS5 proxies in sequence (e.g., proxy1 → proxy2 → target)
Supported Operations:
Terminal connections
SFTP/File Manager operations
SSH Tunnels
Server statistics collection
Server status monitoring
Implementation
Backend Infrastructure:
Created socks5-helper.ts utility with createSocks5Connection() for both single proxy and chain connections
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Add Complete SOCKS5 and Proxy Chain Support
Summary
This PR implements comprehensive SOCKS5 proxy support with proxy chain functionality across all SSH operations in Termix. Users can now configure either a single SOCKS5 proxy or a chain of multiple proxies for all SSH connections.
Features
SOCKS5 Proxy Modes:
proxy1 → proxy2 → target)Supported Operations:
Implementation
Backend Infrastructure:
socks5-helper.tsutility withcreateSocks5Connection()for both single proxy and chain connectionsuseSocks5,socks5Host,socks5Port,socks5Username,socks5Password,socks5ProxyChainFrontend UI:
Socks5ProxyConfigcomponent for proxy configurationType System:
ProxyNodeinterface for chain nodesSSHHost,SSHHostData, andTunnelConfiginterfacesTechnical Details
Proxy Chain Flow:
Each proxy node supports:
Database Schema:
Usage Example
Single Proxy:
proxy.example.com1080username:passwordProxy Chain: