Hello everyone!

I’m trying to set up wireguard on my phone to access hosts in my LAN and the internet through my router.
I managed to set up wireguard on both ends and get the handshake working, but that’s it. I can’t ping any hosts in my LAN nor on the WAN.

I created a firewall rule to forward traffic from wg to the lan.
And changed the lan one to allow forwards from wg as well as allow forwards (so it can route the traffic to the wan)
https://imgur.com/a/b7yE0ul

So far no luck. Any ideas?

  • offspec@lemmy.nicknakin.com
    link
    fedilink
    English
    arrow-up
    2
    ·
    7 months ago

    Make sure your wireguard config has both subnets set up to be directed through the tunnel. Add the LAN ip to the “Allowed Ips” section.

    • Varcour@lemm.eeOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      7 months ago

      Allowed IPs is 0.0.0.0/0
      The other part I don’t understand. You mean on the client? When I activate the tunnel all other connections are getting blocked. This seems to work fine since I can’t ping anything on the internet.