-
-
Notifications
You must be signed in to change notification settings - Fork 67
Rfc6724 use ipv6 as default #227
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
base: master
Are you sure you want to change the base?
Conversation
sort list of interfaces by addr (2001:xx:xx:xx::1,fd52:xx:xx::1,fe80::xx:xx:xx:901a)
add comments
…config file. Year's later we can switch to inet6 by default :-)
…config file. Year's later we can switch to inet6 by default :-)
nemesifier
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nobody has ever expressed the need for this up to now, why do you think this is needed? Aren't most management VPN networks using IPv4?
|
It is up for debate whether IPv6 should be the default returned address but this PR contains some pretty useful features regarding the IPv6 selection, such as the filtering of ula addresses and the option to prefer IPv6, when an interface also has an IPv4. This enables the possibility to use IPv6 for management without the need for a VPN, one would just need to create a firewall rule (on the uplink router) that allows the OpenWISP server to access the relevant ports, given the devices and the server have a gua. |
|
The Server should also ipv6 enabled.
|
I have seen users in the past having problems due to this: nginx not starting because they didn't have IPv6. |
Add nginx ipv6 option @nemesifier openwisp/openwisp-config#227 (comment)
Checklist
Description of Changes
Added uci option management_interface_family 'inet6'
Prefer ipv6 on new installations.
for IPv4 backward compatibility use "inet" or leave it blank. default prio is "inet" then "inet6"
For IPv4 only use "inet".
Added uci option management_interface_ula
If it set and there is no Public ipv6 than report ula address.
Please review it could broke backward compatibility