Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow choosing IPv4 or IPv6 in client configuration #979

Open
jwfang opened this issue Mar 13, 2024 · 2 comments
Open

Allow choosing IPv4 or IPv6 in client configuration #979

jwfang opened this issue Mar 13, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@jwfang
Copy link

jwfang commented Mar 13, 2024

Is your feature request related to a problem? Please describe.
My VPS have shit connectivity/route via IPv4, but much better IPv6. I want to finer control the IP version used.
BTW: I want to use both versions, IPv6 as primary and IPv4 as backup.

Describe the solution you'd like
-4 and -6 option as most network tools do today.

Describe alternatives you've considered
Different DNS record for different IP version, not very elegant and cause management burden.

@jwfang jwfang added the enhancement New feature or request label Mar 13, 2024
@tobyxdd
Copy link
Collaborator

tobyxdd commented Mar 31, 2024

You can use IP instead of domain as server address

@netsupcloud
Copy link

netsupcloud commented May 9, 2024

this is outbound configuration of xray for selecting ipv4 or ipv6 as outbound in server side:

"outbounds": [
{
"tag": "IPv4_out",
"protocol": "freedom",
"settings": {
"domainStrategy": "UseIPv4"
}

need something like this for hysteria

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants