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

Default ipv6 usage #51

Closed
syphyr opened this issue Oct 25, 2020 · 7 comments
Closed

Default ipv6 usage #51

syphyr opened this issue Oct 25, 2020 · 7 comments
Labels
enhancement New feature or request

Comments

@syphyr
Copy link

syphyr commented Oct 25, 2020

I found this commit very interesting and it seems to also apply to this project:
maple3142/cf-warp@050f1ad

@syphyr
Copy link
Author

syphyr commented Oct 25, 2020

--- gai.conf.org	2018-02-01 17:17:18.000000000 +0100
+++ gai.conf	2020-10-25 21:09:21.330391035 +0100
@@ -19,14 +19,15 @@
 #    Add another rule to the RFC 3484 label table.  See section 2.1 in
 #    RFC 3484.  The default is:
 #
-#label ::1/128       0
-#label ::/0          1
-#label 2002::/16     2
-#label ::/96         3
-#label ::ffff:0:0/96 4
-#label fec0::/10     5
-#label fc00::/7      6
-#label 2001:0::/32   7
+label ::1/128       0
+label ::/0          1
+label fd01::/16     1
+label 2002::/16     2
+label ::/96         3
+label ::ffff:0:0/96 4
+label fec0::/10     5
+label fc00::/7      6
+label 2001:0::/32   7
 #
 #    This default differs from the tables given in RFC 3484 by handling
 #    (now obsolete) site-local IPv6 addresses and Unique Local Addresses.
@@ -43,11 +44,12 @@
 #    Add another rule to the RFC 3484 precedence table.  See section 2.1
 #    and 10.3 in RFC 3484.  The default is:
 #
-#precedence  ::1/128       50
-#precedence  ::/0          40
-#precedence  2002::/16     30
-#precedence ::/96          20
-#precedence ::ffff:0:0/96  10
+precedence  ::1/128       50
+precedence  ::/0          40
+precedence  fd01::/16     40
+precedence  2002::/16     30
+precedence ::/96          20
+precedence ::ffff:0:0/96  10
 #
 #    For sites which prefer IPv4 connections change the last line to
 #

@ViRb3
Copy link
Owner

ViRb3 commented Feb 22, 2021

Hey there. How do you suggest that we implement this? Add a reference to the documentation?

@ViRb3 ViRb3 added the enhancement New feature or request label Feb 22, 2021
@Loukky

This comment has been minimized.

@syphyr
Copy link
Author

syphyr commented Feb 22, 2021

yes, this should probably be added to the doc for users that want to default to ipv6 addresses.

@worstperson
Copy link

worstperson commented Jun 1, 2021

My situation is a little different since I'm sharing the connection through NAT, but I assign my addresses from the 2001:DB8::/32 range rather than ULA(FC00::/7). This is a reserved bogon prefix for use in documentation, perfect for use as a local address, and gets treated as a real IPv6 address by clients and browsers.

@miyurusankalpa
Copy link

I just tried out wgcf and my wgcf-profile.conf on fedora has GUA address from the cloudflares address range. So now it prefers IPv6 by default.

If anyone else can confirm my observation, I think we can close this issue.

@syphyr
Copy link
Author

syphyr commented Feb 17, 2024

Yes, it now defaults to ipv6. This change is no longer required.

@syphyr syphyr closed this as completed Feb 17, 2024
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

5 participants