this post was submitted on 06 Apr 2024
16 points (86.4% liked)

Selfhosted

40183 readers
655 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
16
submitted 7 months ago* (last edited 7 months ago) by Hiro8811@lemmy.world to c/selfhosted@lemmy.world
 

I'm trying to figure out how can I install a VPN on truenas that hides my IP. I have tailscale running so I can remotely access Nextcloud and manage it doesn't hide my IP. Wouldn't really throught on using it but my country recently published a law to lick Big Corpo in the ass better, the fines are pretty big so that's why I'm interested.

Can I install a commercial VPNs? Such as Proton VPN or Mulvad?
Thought on installing a VM with a qbitorent and VPN but I don't have enough RAM and I can't upgrade it right now.

Platform: Truenas-scale

you are viewing a single comment's thread
view the rest of the comments
[–] electric_nan@lemmy.ml 2 points 7 months ago (1 children)

I had someone help me set something similar up but I don't remember the exact details. Something like making the qBit user unable to use any interface but the TUN.

[–] foggy@lemmy.world 1 points 7 months ago (1 children)

Yeah qbitorrent has this in their settings iirc.

Do ifconfig before VPN, then after. Identify what your VPN connection is (likely TUN0). Then you tell qbitorrent to ONLY use the VPN one.

That way if you suddenly lose VPN service it won't fall back to your actual IP. (This is how the guy that hacked ubiquity got caught).

[–] electric_nan@lemmy.ml 1 points 7 months ago (1 children)

I know about that setting, but this was different. It relies on Linux permissions. Like you have a dedicated 'user' for running qBit, and that user has no privileges for any network interface other than the VPN.

[–] 2xsaiko@discuss.tchncs.de 1 points 7 months ago (1 children)

Sounds like network namespaces.

[–] electric_nan@lemmy.ml 1 points 7 months ago

Yeah that rings a bell. Weirdly I woke up this morning to an abuse complaint from my hosting provider after years of no issues.