Hey guys! So I have a simple dilemma. The computer i use for video/movies is on a vpn. Sometimes I want to move those videos to my nas.
Now I am just using the mulvad program on the local pc (linux). I dont have it installed on my router (and im not sure if I will yet, since with slowdowns and some sites and applications not working on a VPN, I dont really need it network wide at this point)
But my problem is, my nas isn’t accessible from the pc, unless I shut off the VPN, which I dont want to do when in the middle of a big download. Also, it would be nice sometimes to download right to my nas so I dont need to move files.
Is there a somewhat easy solution? Im decently savvy but networking still confuses me sometimes.
i JUST saw that setting! that helps. though i’m trying to keep this pc mostly isolated from my home network, i think checking that option just to move files over and then rechecking it would be fine with me.
You could add your NAS local address to not go through your VPN using advanced split tunneling on Linux.
Look at the docs from Mullvad it might help you do what you want : https://mullvad.net/en/help/split-tunneling-with-linux-advanced
You should be able to add a route just for your nas without enabling lan sharing, something like
sudo ip r a 192.168.1.123/32 via 192.168.1.1 dev eth0
Where .123 is your nas, .1 is your router, eth0 is your physical network interface.
But it’s probably better to just toggle lan sharing.