this post was submitted on 29 Mar 2024
2 points (66.7% liked)

Linux Questions

981 readers
1 users here now

Linux questions Rules (in addition of the Lemmy.zip rules)

Tips for giving and receiving help

Any rule violations will result in disciplinary actions

founded 1 year ago
MODERATORS
 

Would someone #help me configure my #WireGuard server to access my home local network?

I've literally been stuck for 6 hours.

https://forum.yunohost.org/t/cant-access-yunohost-local-network-through-wireguard-server/29127/1

@linuxquestions

top 4 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 5 months ago* (last edited 5 months ago) (1 children)

@retiolus @linuxquestions what have you done so far? πŸ™‚
What's working and what is not?
---
Nevermind, the link just popped up. I'll read through it in a few minutes.

[–] [email protected] 1 points 5 months ago* (last edited 5 months ago) (1 children)

@mforester @linuxquestions I just opened a ticket on YunoHost community forum.

What works:
- connecting to the wg server from diferents clients
- ping to other clients connected on the wg network (10.10.10.0/24)

What doesn’t work:
- ping to devices on local YunoHost network (192.168.2.0/24)

https://forum.yunohost.org/t/cant-access-yunohost-local-network-through-wireguard-server/29127/1

[–] [email protected] 1 points 5 months ago* (last edited 5 months ago) (1 children)

@retiolus @linuxquestions is the WG server in a container or running on the host system? Not sure if that's relevant, but it might be a starting point.
You'll also need to define a route from 10.10.10.0 to 192.168.2.0.

[–] [email protected] 1 points 5 months ago

@retiolus @linuxquestions and enable IP forwarding. It's a sysctl setting.