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.
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 bysystemctl restart transmission-daemon.service
and it should be applied.I just create a tun1 with openvpn (sudo openvpn --config yourConfigFile.ovpn ) and then set Nicotine to use it. Easy as…
nicotine+ has an option to bind to an interface