this post was submitted on 16 Jan 2025
67 points (97.2% liked)

Privacy

33133 readers
1161 users here now

A place to discuss privacy and freedom in the digital world.

Privacy has become a very important issue in modern society, with companies and governments constantly abusing their power, more and more people are waking up to the importance of digital privacy.

In this community everyone is welcome to post links and discuss topics related to privacy.

Some Rules

Related communities

much thanks to @gary_host_laptop for the logo design :)

founded 5 years ago
MODERATORS
 

All of us have made privacy mistakes at some point in our privacy journeys. In an effort to help those earlier on in that journey, please share some of the mistakes you've made, and how you could have prevented it.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 3 days ago

Looks like a hacky and far from perfect approach here. In the gap where you lose your VPN connection and the script triggers, there's a timeframe that your torrent software will leak a lot of data. A better approach here is to enforce only VPN connections via your firewall. Whitelist outgoing connections to your VPN destination, blacklist the rest. On Linux make the torrent systemd unit also have a dependency on the VPN connection, that it: your torrent service won't start if the VPN service isn't active. So in case your VPN disables at some point,the firewall will still do its work.