Jump to content

[Solved] Running Wireguard on Unraid prevents connection with a device running HAOS


Recommended Posts

I currently have Unraid running on a computer and homeassistant (HAOS) running on a separate raspberry pi. When away from home, I was previously connecting to both machines via a wireguard tunnel setup on HAOS which worked perfect. I decided to setup wireguard to tunnel through Unraid instead to offload services from HAOS. The tunnel worked and I am able to connect to Unraid server with no issues but unable to connect to the HAOS server. I then realised that this is because whenever wireguard is active on Unraid, the Unraid server and HAOS server can not connect to each other. With wireguard disabled on Unraid, I am able to ping HAOS from unraid but when wireguard is turned on unraid, i am unable to ping HAOS. When I was running wireguard on HAOS I did not have this problem.

 

Wireguard settings:

wgsettings.thumb.jpg.ef07d89f6c85d3f5c4b6a2c19cb0006b.jpg

 

With wireguard on (192.168.1.202 is the local IP of HAOS):

WGon.png.da07d95a5e13f94e9e225a10a633abca.png

 

With wireguard off:

WGoff.png.16b3f0510e59cb02bdf1eb920fe947ac.png

 

Things that I've tried:

- confirmed wireguard is not runnning on HAOS

- deleted wireguard addon from HAOS

- ensured "Use NAT" = Yes and "Host access to custom network" = No

- made sure that the network pool on wireguard is different from my router's network pool

- able to access my router's default gateway through Unraid wireguard tunnel

 

Does anyone have any idea what else can i try?

 

EDIT:

Apologies, I just realised in one of my peers, I put in HAOS IP in allowed_ip which is causing the issue, all good now.

Edited by ssassassa9
Link to comment
  • ssassassa9 changed the title to [Solved] Running Wireguard on Unraid prevents connection with a device running HAOS

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...