35
submitted 2 years ago* (last edited 2 years ago) by Yingwu@lemmy.dbzer0.com to c/selfhosted@lemmy.world

So I'm just being introduced to the concept of using a VPN or something like Tailscale to access one's services, instead of opening the services directly to the web, but I'm thinking for streaming purposes or just accessing your services on the run, isn't it an annoyance having to connect to your home network all the time? Or do you keep the VPN running on your phone for example? What if you use a VPN provider for privacy purposes, wouldn't one need to then switch VPN connection?

you are viewing a single comment's thread
view the rest of the comments
[-] Dust0741@lemmy.world 8 points 2 years ago

For an external VPN like mullvad, I run my own proxy. Again it's only available from my VPN or inside my network.

It uses socks5 and gluetun docket containers and in apps that support proxies, I can add my proxy to it and it'll route that traffic through the paid VPN.

Or, a work profile (see shelter) or androids new private spaces. If you have private spaces, it uses a seperate network. So if you have a VPN installed outside the private space, it won't work on apps inside the space. So, what you could do is have a paid VPN inside private spaces, and use it and a web browser or whatever there, and use your server's VPN outside the private space.

Lmk if you want any of my docker composes

[-] Yingwu@lemmy.dbzer0.com 2 points 2 years ago

Very interesting. Didn't know this was a possibility. I don't need anything now but thanks for offering, might get back to you

[-] theorangeninja@lemmy.today 1 points 2 years ago

This sounds very interesting. I always wondered if I could use a paid VPN together with Tailscale or Netbird. But I'm not sure I understood how you set this up. And what are Android private spaces?

[-] Dust0741@lemmy.world 2 points 2 years ago

I have gluetun+socks5 containea running, then in an app, I put in localip:port into a proxy field. Then that app will use that connection for internet. Browsers on desktop also support proxies. So if you want a specific browser to always use the VPN, this is a very simple way to do that.

https://source.android.com/docs/security/features/private-space

[-] theorangeninja@lemmy.today 1 points 2 years ago

Thank you for pushing me into the rabbit hole. But gluetun already has a socks proxy server built in, if I read that correctly on their github.

[-] Dust0741@lemmy.world 2 points 2 years ago

Oh fascinating. I'll have to look into that

this post was submitted on 26 Oct 2024
35 points (94.9% liked)

Selfhosted

62987 readers
1745 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:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

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

Questions? DM the mods!

founded 3 years ago
MODERATORS