To do this without port forwarding you could look at using tailscale (https://github.com/tailscale).
Selfhosted
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:
-
Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.
-
No spam posting.
-
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.
-
Don't duplicate the full text of your blog or github here. Just post the link for folks to click.
-
Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
-
No trolling.
Resources:
- selfh.st Newsletter and index of selfhosted software and apps
- awesome-selfhosted software
- awesome-sysadmin resources
- Self-Hosted Podcast from Jupiter Broadcasting
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
I'll look into it, thanks
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.
Silly question but how do I know if I'm behind a cgnat ?
If your public IP is in the 100.64.0.0/10
range, then you're behind a CG-NAT.
https://github.com/fatedier/frp 10 minutes reading 5 to setup the best tool for tunneling i could find. The frps on a vpn(the most cheap you can find) and frpc on your server at home
On a VPS you mean ? I'll try thanks
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]