mirror of
https://github.com/ovh/the-bastion.git
synced 2026-05-09 08:25:27 +02:00
[GH-ISSUE #546] Default Egress Port #133
Labels
No labels
answered
bug
documentation
enhancement
enhancement
feature
feature
kept-open-for-info
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/the-bastion#133
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @tobzsc on GitHub (Apr 7, 2025).
Original GitHub issue: https://github.com/ovh/the-bastion/issues/546
Hey together,
is there a way to define a standard egress port? On our infrastructure we are using other ports than the default port 22. I just checked the documentation and have not found such an option.
@speed47 commented on GitHub (Jul 8, 2025):
Hello,
You are correct that there is no such option to do this currently, but this is an interesting suggestion.
We also have a few sub-infrastructures that are not using port 22, but what we've been usually doing in these cases is adjusting the bastion alias for the users. For example instead of having:
We have:
This way, if no port is specified when using the alias, it'll use port 220. If a port is specified, it'll override what's in the alias (because it'll appear earlier in the command-line).
Still, it would be interesting to have such option, I'm leaving this open to not forget it.