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
- Posting a link to a website containing tracking isn't great, if contents of the website are behind a paywall maybe copy them into the post
- Don't promote proprietary software
- Try to keep things on topic
- If you have a question, please try searching for previous discussions, maybe it has already been answered
- Reposts are fine, but should have at least a couple of weeks in between so that the post can reach a new audience
- Be nice :)
Related communities
much thanks to @gary_host_laptop for the logo design :)
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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.