Skip to content

Fix custom proxy port support in SSH proxy tunnels - #332

Merged
jdhall75 merged 2 commits into
thatmattlove:mainfrom
jessiebryan:fix/proxy-port-open_tunnel
Sep 30, 2025
Merged

jdhall75 merged 2 commits into
thatmattlove:mainfrom
jessiebryan:fix/proxy-port-open_tunnel

Conversation

@jessiebryan

Copy link
Copy Markdown
Contributor

Description

This PR ensures that the proxy.port value defined in devices.yaml is correctly passed into the SSH tunnel constructor. Previously Hyperglass always fell back to port 22 when opening a proxy tunnel, even if you specified a different port.

Motivation and Context

Operators might need to run their SSH jump hosts on non-standard ports (for example, 61440). Until now, those custom proxy.port settings were ignored, preventing Hyperglass from ever reaching the proxy on the intended port.

Tests

1.	Manually set proxy.port: 61440 in devices.yaml and rebuilt/restarted the service. Verified in the debug log that SSH connections are now attempted on port 61440 instead of 22.

@jdhall75
jdhall75 merged commit 98abca6 into thatmattlove:main Sep 30, 2025
8 checks passed
@jdhall75

Copy link
Copy Markdown
Collaborator

Thanks!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants