this post was submitted on 13 Oct 2023
9 points (100.0% liked)

Self-Hosted Main

496 readers
1 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.

For Example

We welcome posts that include suggestions for good self-hosted alternatives to popular online services, how they are better, or how they give back control of your data. Also include hints and tips for less technical readers.

Useful Lists

founded 1 year ago
MODERATORS
 

I travel quite a lot and I am getting really tired of applications, websites and businesses causing problems because I'm not at home.

What I'm hoping to do is setup a self-hosted VPN or proxy in my home country (not interested in my own hardware, computers would be turned off when away from home), I am happy with a single IP address and don't care about it being tracked, but I need it to be secure. I just want every bit of traffic from my device(s) to appear to come from my home country without any possibility of others knowing I am elsewhere *or* that I am using a VPN.

Is this possible? I've been looking into Wireguard and obfuscation. I was planning to install that on a dedicated host. Is this the right direction? Appreciate any help!

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 11 months ago* (last edited 11 months ago)

I did something similar to what you're describing recently using Wireguard, and it's working pretty well. The only difference in my setup is that I didn't want to route internet traffic through the VPS, just get access to my local network (Site-to-Site VPN). I did accidentally route all of my traffic through my Wireguard VPS at one point during set up though, which seems promising based on what you want to do.

If you're comfortable with using Docker, I used this guide from linuxserver.io to get setup: https://docs.linuxserver.io/images/docker-wireguard

linuxserver.io refers to terms such as "client" and "server" which don't actually exist in Wireguard (all devices are just peers), but it's useful as a way to visualize how you'd like to set everything up. I'm thinking all you'd have to do is setup your VPS in "Server" mode and define your peers, I don't remember having to do anything special to get the routing to the internet set up.

The other part of the equation is setting up Wireguard on the target device. If you're using an Android device, I can attest that the Wireguard app works great and is easy to setup. I unfortunately haven't tried setting it up on a PC or laptop yet, but it looks like you could use the same linuxserver.io docker image in "Client" mode to get connected if you wanted to.