9

I'm paying for a VPN service that has a limited number of concurrent devices but I want to use it on all of my devices. Is there a way to self-host a Wireguard VPN on my Linux server that will forward all WAN traffic to my third-party VPN provider? Ideally, I would generate a Wireguard config for this gateway, and all my devices would connect to my local VPN gateway server, thus allowing me to share that one config across all devices.

My router does not support VPN configuration and modifying its firmware is not an option.

top 4 comments
sorted by: hot top controversial new old
[-] vaseltarp@lemmy.world 5 points 8 months ago* (last edited 8 months ago)

Many routers have an option to login to a VPN. Then all traffic that goes over that router to the internet goes over the VPN. Theoretically something like that should also be possible with a Linux server if the server is local. With this setup you shouldn't need to configure the VPN on your local devices.

[-] originalucifer@moist.catsweat.com 1 points 8 months ago* (last edited 8 months ago)

gluetun should be able to do this

[-] vynlwombat@lemmy.world 1 points 8 months ago

I have a VM with wireguard connected to a VPN. And I use proxy tunnels over ssh to route traffic through that VM.

[-] bmcgonag@lemmy.world 1 points 8 months ago

If you want to self host check out Wireguard options like Netmaker, Headscale, Netbird, etc. these all allow you the ability to setup a machine as an exit node into a LAN, and allow LAN to LAN communication. If you are just looking for a VPN and don’t have to self host, then Tailscale might be a good starting point. Figure out the setup you like, then move to a self hosted headscale setup later using that as a model.

this post was submitted on 02 Nov 2023
9 points (90.9% liked)

Selfhosted

37915 readers
302 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.

Resources:

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

Questions? DM the mods!

founded 1 year ago
MODERATORS