Giter Club home page Giter Club logo

Comments (11)

LowKey88 avatar LowKey88 commented on July 1, 2024 1

Hi @bigmoby , I think this not related to wireguard client. I tested on my another HA, it's work fine.

We can close this issue due to non related to wireguard client problem.

from addon-wireguard-client.

bigmoby avatar bigmoby commented on July 1, 2024

Hi @LowKey88 please describe how could I reproduce it.

from addon-wireguard-client.

LowKey88 avatar LowKey88 commented on July 1, 2024
  1. deploy WireGuard on VPS/Cloud
  2. Configure WireGuard Client on both HA

Config :

On HA1

interface:
private_key: WBgnQ+xxxxxxx=
address: 10.10.0.4
dns:
- 8.8.8.8
- 8.8.4.4
post_up: iptables -t nat -A POSTROUTING -o wg0 -j MASQUERADE
post_down: iptables -t nat -D POSTROUTING -o wg0 -j MASQUERADE
peers:

  • public_key: nxxxx+Txxxxxxxxx=
    pre_shared_key: ''
    endpoint: 209.58.164.XXX:51820 VPS IP
    allowed_ips:
    • 10.10.0.0/24
      persistent_keep_alive: '25'

On HA2

interface:
private_key: WBgnQ+xxxxxxx=
address: 10.10.0.3
dns:
- 8.8.8.8
- 8.8.4.4
post_up: iptables -t nat -A POSTROUTING -o wg0 -j MASQUERADE
post_down: iptables -t nat -D POSTROUTING -o wg0 -j MASQUERADE
peers:

  • public_key: nxxxx+Txxxxxxxxx=
    pre_shared_key: ''
    endpoint: 209.58.164.XXX:51820 VPS IP
    allowed_ips:
    • 10.10.0.0/24
      persistent_keep_alive: '25'
  1. Verify both connection VPN ( At this step, I'm able to ping to 10.10.0.3 (remote)from 10.10.0.4) - Connection Success
  2. Install Remote HomeAssistant on Both HA
    • Set Setup as Remote Node on 10.10.0.3 (HA2) and 10.10.0.4 (HA1) as Add a remote node.
    • During add, not able to connect due to connection error with above log mentioned.
    • WireGuard client version 0.1.8 not having this issue.

Suspected something blocking on endpoints Wireguard, but on our setup no firewall configured.

VPS WireGuard

Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain FORWARD (policy ACCEPT)
target prot opt source destination
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 209.58.164.254 0.0.0.0 UG 0 0 0 eth0
10.10.0.0 0.0.0.0 255.255.255.0 U 0 0 0 wg0
169.254.0.0 0.0.0.0 255.255.0.0 U 1002 0 0 eth0
209.58.164.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0

Hope this help you to reproduce and investigate further.

from addon-wireguard-client.

bigmoby avatar bigmoby commented on July 1, 2024

Hi @LowKey88 thank you for your description in order to reproduce it.
I analyzed once again the changes between the two versions: cfb7e48
and no changes or restrictions happened. Only one change not under my control regarding the new base image update and I'll investigate if something changed.
I don't know the custom component Remote Home Assistant, maybe something changed on it?! Both wireguard clients are working so the add-on Wireguard Client is still working well. Could you try, as test, to recover from the latest Wireguard Client backup so you could test if v0.1.8 will work with the current Remote Home Assistant component?

from addon-wireguard-client.

LowKey88 avatar LowKey88 commented on July 1, 2024

Hi, @bigmoby

may i know how to revert back to v0.1.8?

from addon-wireguard-client.

bigmoby avatar bigmoby commented on July 1, 2024

HI @LowKey88 ,
take a look on your backups section, you should have a pre-update wireguard-client add-on backup.

from addon-wireguard-client.

LowKey88 avatar LowKey88 commented on July 1, 2024

Hi @bigmoby

Screenshot 2022-01-20 at 4 48 14 PM

Seem like my backup not contain wireguard-client add-on.

Update :

My old backup on 2022-01-14 , and it's use latest version : WireGuard Client (0.2.0)

from addon-wireguard-client.

bigmoby avatar bigmoby commented on July 1, 2024

Mmm sounds like you skipped the backup flag before the add-on update...no backup with v0.1.8?

from addon-wireguard-client.

LowKey88 avatar LowKey88 commented on July 1, 2024

yes, no backup with v0.1.8. Perhaps got another way?

from addon-wireguard-client.

bigmoby avatar bigmoby commented on July 1, 2024

There's no easy way out...unfortunately! And because I'm not sure that a regression occurs in this add-on I don't want downgrade this release.
I suggest you, as a last minute hint, to fork this project and edit by yourself the config.json and hardcode the preferred image version.

Or you could try this downgrade procedure: https://community.home-assistant.io/t/how-to-downgrade-any-supervisor-addon/349649

from addon-wireguard-client.

bigmoby avatar bigmoby commented on July 1, 2024

Hi @LowKey88 any news about the downgrade procedure?

from addon-wireguard-client.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.