this post was submitted on 06 Feb 2024
33 points (97.1% liked)

Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ

54500 readers
719 users here now

⚓ Dedicated to the discussion of digital piracy, including ethical problems and legal advancements.

Rules • Full Version

1. Posts must be related to the discussion of digital piracy

2. Don't request invites, trade, sell, or self-promote

3. Don't request or link to specific pirated titles, including DMs

4. Don't submit low-quality posts, be entitled, or harass others



Loot, Pillage, & Plunder

📜 c/Piracy Wiki (Community Edition):


💰 Please help cover server costs.

Ko-Fi Liberapay
Ko-fi Liberapay

founded 1 year ago
MODERATORS
 

I’m using a dedicated PC running Ubuntu and using CasaOS manage the applications I need. I’ve been able to get Nicotine+ and other clients installed without issue but curious if folks have a setup that has just Soulseek going through a VPN? I don’t think I want 100% of my servers traffic going though the VPN (namely Plex), and would like to have Soulseek on this box so all my music stays in one place making it easier to share. Open it alternatives here.

I guess the broader question might be, how are people using a VPN with Soulseek, while also sharing files from locally hosted source? I could put Soulseek on another machine with a VPN but then it wouldn’t be able to see the local only shared folders.

you are viewing a single comment's thread
view the rest of the comments
[–] TCB13@lemmy.world 3 points 9 months ago

Since you're running on Linux you don't need extra software like some suggested.

Systemd can be used to restrict a program networking to your VPN. The following is an example of how to it for Transmission and you can adapt it to any other service. It boils down to overriding the default daemon unit by using the following command:

systemctl edit transmission-daemon.service

Then type what you need to override:

[Service]
IPAddressDeny=any
IPAddressAllow=10.0.0.1 # --> your VPN IP here

Another systemd option, might be to restrict it to a single network interface:

[Service]
RestrictNetworkInterfaces=wg0 # --> your VPN interface

Save the file and run systemctl daemon-reload followed by systemctl restart transmission-daemon.service and it should be applied.