Wireguard Plugin - Unraid as Site client


dweb

Recommended Posts

Hi Community,

 

currently I have a AWS Wireguard server which connects Household A and Household B (both Raspi-Clients). 

Now I want to replace the Pi Household B with my Unraid server.

 

The current Raspi is set up to allow ip4 and ip6 forwarding.

The config file which is working well on the Pi is:

[Interface]
PrivateKey = <PRIVATEKEY>
Address = 10.6.0.7/24
DNS = 10.6.0.1

PostUp = iptables -A FORWARD -i %i -j ACCEPT; iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
PostDown = iptables -D FORWARD -i %i -j ACCEPT; iptables -t nat -D POSTROUTING -o eth0 -j MASQUERADE

[Peer]
PublicKey = <PUBLICKEY>
PresharedKey = <PRESHAREDKEY>
Endpoint = myAWSserver.net:50000
AllowedIPs = 10.6.0.0/24, 192.168.188.0/24
PersistentKeepalive = 25

 

 

I tried to import it into Unraid. I am able to connect to Household A and access its LAN.

However, from Household A I am not able to access the LAN behind my Unraid in Household B. 

 

I tried setting Unraid Wireguard plugin to LAN-LAN mode without success. 

Not sure but maybe its because of PostUp/PostDown arguments not working or because ip forwarding on Unraid is not active?

Maybe someone has an idea what to try?

Edited by dweb
Link to comment

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.