this post was submitted on 06 Jan 2026
22 points (100.0% liked)

Selfhosted

54480 readers
641 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

  7. No low-effort posts. This is subjective and will largely be determined by the community member reports.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

Hi everyone, I’m looking for help with a WireGuard routing issue on my GL.iNet router.

https://docs.gl-inet.com/router/en/4/tutorials/wireguard_server_access_to_client_lan_side/#how-to-access-wireguard-client-lan-side-from-server

  • I set the Target Address to 192.168.8.0/24.
  • I set the Gateway to 10.1.0.1.
  • After applying this, devices can still connect to the GL.iNet Wi-Fi, but there is no internet access.
  • The router’s admin panel at http://192.168.8.1/ is no longer accessible.

Has anyone experienced this before, or can explain what went wrong and how to recover access without a full reset?

Thanks in advance for any help.

you are viewing a single comment's thread
view the rest of the comments
[–] tychosmoose@lemmy.world 2 points 6 days ago (1 children)

That rule is supposed to be set on the "server" at the other end of the wg connection, using its own wg address as gateway. Not on the router for the lan you're trying to access. That seems like a pretty easy mistake to make given that documentation.

You could try a short reset of just the network configuration. Hold reset for like 5 seconds. Might need to do a full reset (10+ seconds) if that doesn't get you back in.

[–] tatoko556@reddthat.com 3 points 6 days ago (1 children)

Thank you, a short reset worked!

But how do I set up the routing correctly on the WireGuard router? What should the Target Address and Gateway be if my LAN is under 192.168.8.0/24, and my mobile client with the WireGuard client has a client IP of 10.0.0.2/24?

[–] tychosmoose@lemmy.world 1 points 6 days ago (1 children)

So you have a single mobile device connecting via wg, correct? Not a second network?

If so the only configuration you should need on the router are firewall rules to allow forwarding from wg to lan. I am guessing that's what the second step in the GL-iNet help accomplishes. That's what I would recommend trying.

If I was doing this on "normal" OpenWRT I would create a firewall zone wg, and allow traffic to/from it and lan.

On the client device you should be good to go without changes if AllowedIPs is set to 0.0.0.0/, ::/0 (sending all traffic through wg).

[–] tatoko556@reddthat.com 1 points 5 days ago