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

Status ipv6 #82

Closed
TimoFriedri opened this issue Feb 24, 2021 · 4 comments
Closed

Status ipv6 #82

TimoFriedri opened this issue Feb 24, 2021 · 4 comments

Comments

@TimoFriedri
Copy link

HI,

my intenet provider changed and now I nly have a public ipv6, no real ipv4 anymore.
Wireguard worked fine before with ipv4.
I found #25 that stated there is no ipv6 support in Hass.io.

Now much has changed in the past year. Any update on that.
I personally run HA supervised on Ubuntu. I know, not officially supported, but I think it can be applied 1 to 1 to Debian.
These OSs support ipv6 in general.

Should it work, if I try to configure it according to #25 or is it not even worthwhile to try ?

@frenck
Copy link
Member

frenck commented Feb 24, 2021

IPv6 support has been added to the ecosystem, have not tested it myself though.

@frenck frenck closed this as completed Feb 24, 2021
@TimoFriedri
Copy link
Author

Wow, that was quick. Ok, then I will try to set it up this evening. I'll share my experience. Thank you

@TimoFriedri
Copy link
Author

So far I was not able to add an ipv6 to my wireguard addon

I have the following config:

server:
  host: ###.duckdns.org
  addresses:
    - 172.27.66.1
    - 'fd00:0001::1/64'
  dns:
    - 192.168.178.9
    - 'fe80::3f8e:ce0f:8bee:40a8'

And I get this in the log

[11:14:10] INFO: Starting WireGuard...
[#] ip link add wg0 type wireguard
[#] wg setconf wg0 /dev/fd/63
[#] ip -4 address add 172.27.66.1/24 dev wg0
[#] ip -6 address add fd00:0001::1/64 dev wg0
RTNETLINK answers: Permission denied
[#] ip link delete dev wg0

I am fairly new to ipv6, so maybe I misconfigure something.
My ULA prefix is fd00::/64, so I chose fd00:0001::/64 for the wireguard's. For me, this seems to be equivalent to the ipv4 config with 192.168.178.0/24 and 172.27.66.1/24.

@TimoFriedri
Copy link
Author

@github-actions github-actions bot locked and limited conversation to collaborators Mar 29, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants