mirror of
https://github.com/ovh/the-bastion.git
synced 2026-05-09 08:25:27 +02:00
[GH-ISSUE #615] [Question] Use of IPv4 and IPv6 #157
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#157
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 @user876456 on GitHub (Feb 9, 2026).
Original GitHub issue: https://github.com/ovh/the-bastion/issues/615
Hello,
I use both IPv4 and IPv6 in my infrastructure but it seems that i can only use one of them in the bastion. If both are set to true in bastion's configuration, it uses by default only IPv4. Is there any way to make them both work or is it not supported ?
Thank you.
@speed47 commented on GitHub (Mar 6, 2026):
Hello,
You can absolutely use both. If you then try to connect to a host that has both types of IPs, the host will be resolved by your DNS (or more precisely by the OS on which the bastion is running), and the bastion will try to connect to the first IP returned. If you try to connect to a host that has both an IPv4 and an IPv6, and if the DNS always returns the IPv4 first, then the bastion will try that.
Does that answer your question? If not, can you tell more precisely what you expected vs what you're seeing?
@user876456 commented on GitHub (Mar 17, 2026):
Hello,
Thank you for your reponse! Is it possible to prioritized IPv6 over IPv4 directly in bastion's configuration ?