I have a home setup with private services and Wireguard to phone in from outside, and would sometimes like to be able to access some of these services from devices that don’t have their own Wireguard client like an eBook reader.

Ideally, I would have Wireguard on my Android phone, create a WiFi hotspot and allow other devices to use that Wireguard connection. Out of the box this doesn’t work. Does anybody know how to achieve it?

  • mFat
    link
    fedilink
    English
    29 months ago

    There is an app called Every Proxy. It doesn’t need root. You just need to adjust proxy settings on your client devices.

    • @[email protected]OP
      link
      fedilink
      English
      19 months ago

      This looks promising, but I can’t get it to work.

      Wireguard, even though they explicitly mention it in their tutorials, doesn’t have an allow/block list for me, so I can’t allow the proxy network bridge. Curious those settings are gone. Too bad!

      • mFat
        link
        fedilink
        English
        19 months ago

        You don’t need to do any configuration.

        Just connect to your vpn, start every proxy and confgure your clients.

  • SK
    link
    fedilink
    09 months ago

    This can be achieved with tailscale using subnet routing. your local devices (ebook readers) can access your private servers if they are on a device thats on your tailnet (your phone).

      • SK
        link
        fedilink
        19 months ago

        @tofubl tailscale is a mesh network that connects your clients together. and those clients would run a tailscale client on them. There is an additional option of sharing the local network that your device is on with your main tailscale network, thus connecting all your home devices to your private self hosted server network.
        This page has more details along with a video that goes in detail: #[1](https://tailscale.com/kb/1019/subnets)


        1. https://tailscale.com/kb/1019/subnets ↩︎

  • TerkErJerbs
    link
    fedilink
    English
    19 months ago

    You can (basically) only do this with a rooted phone. There are some permissions issues that prevent the hotspot network adapter from being shared over the VPN client otherwise. This article from Proton is just an ELI5 splainer, you can go deeper with some searches.

    If you have root and/or a custom ROM already (which usually assumes root) it’s not that complicated.

    • @[email protected]OP
      link
      fedilink
      English
      09 months ago

      Thanks for the link. I am on Graphene, and if a fellow poster in here is correct that doesn’t help. Bummer.

      • TerkErJerbs
        link
        fedilink
        English
        1
        edit-2
        9 months ago

        Yeah sorry I don’t have experience with Graphene but a quick search seems to say root is very difficult with it. Maybe look into flashing a different custom ROM if you really need this.

        One thing I’ve done quite a bit is use my travel router (I have a GL-Inet Slate but there are lots of options) to repeat my hotspot, then connect all my devices via the router. And set the VPN up on the router. This way everything going out over the hotspot is encrypted anyhow.

        For my needs, I can power the Slate by plugging it into my laptop or even my phone via usb-c. It’s very portable and versatile. Ymmv.