Hi, A bit of a newb in the selfhosting world and i’m asking for any insights for the following issue :

The setup : A Openwrt router (GL-INET one) connected to the web via a Wireguard client line to a ProtonVPN server. The router has a Wireguard server running and AdGuard Home too. All the devices and server is connected to the router. A server is inside the LAN with some services (home assistant, paperless, etc.)

The goal : Trying to connect my phone on my router with the Wireguard server. To later access the services on LAN like home assistant or the router.

I’ve successfully uploaded the conf file to my phone but i cant manage to have the connection made to the router. The correct ISP IP is written into the conf files (tried DDNS glddns too without success). Of course if i write the VPN server IP it’s not working either but i guess that’s to be expected.

Maybe it’s the wrong solution ? Or do i have to get my hands in port forwarding on the vpn server level ? (i have no idea how to port forward in the vpn server though). Maybe there’s a simplier solution ?

Thanks for your advice :)

  • vividspecter@lemm.ee
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    1 year ago

    The commercial VPN client part shouldn’t affect your problem if I’m reading it correctly and you just want to access your LAN remotely. If you’re hosting the Wireguard server on the router, you’ll likely need a firewall rule for the port used by the wg server to allow inbound connections. And you need to configure AllowedIPs correctly on both server and client.

    Since you’re using OpenWRT, you might try out Policy-based Routing which gives you a lot of control over this and also has some instructions for various server and client configs which may be helpful.

    Also, if your ISP uses a CG-NAT you won’t be able to do this without another publicly accessible device, although some ISPs will disable it if asked.

  • Decronym@lemmy.decronym.xyzB
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    1 year ago

    Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I’ve seen in this thread:

    Fewer Letters More Letters
    IP Internet Protocol
    NAT Network Address Translation
    VPN Virtual Private Network
    VPS Virtual Private Server (opposed to shared hosting)

    [Thread #127 for this sub, first seen 10th Sep 2023, 13:25] [FAQ] [Full list] [Contact] [Source code]