Hi,
I've recently upgraded from OMV 4 to OMV 6, and installed Transmission-daemon bare metal to download some Linux ISO's the problem I'm having is to do with my VPN.
The NAS is at my parent's house ( because close to no network monitoring from ISP's compared to where I live ) and I usually access it through a VPN tunnel, which server is at my house. The NAS connects to the VPN server at startup and is connected 24/7, with replicating tasks implemented daily between the NAS itself and a small server at my home.
The problem is that ALL the traffic from my NAS goes through my VPN, which I don't want, because of local ISP's...
I searched the whole day today how I could set up a port-based route or some other way so that my Transmission traffic bypasses the VPN. I know that it can be dangerous with OMV to manipulate the network settings outside of the web interface because of how OMV handles networking.
"Why don't you run your VPN server on the NAS ?" Because with great ISP's comes CGNAT IP, so I would be unable to connect to it
"Why don't you Dockerize Transmission ?" AFAIK it would not make a difference regarding my situation, and why run the whole Docker shebang JUST for Transmission ?
Here's a quick dump of ip route
root@homenas:~# ip route
0.0.0.0/1 via 10.76.45.1 dev tun0
default via 192.168.0.1 dev eno1 proto dhcp src 192.168.0.100 metric 100
10.76.45.0/24 dev tun0 proto kernel scope link src 10.76.45.4
128.0.0.0/1 via 10.76.45.1 dev tun0
172.17.0.0/16 dev docker0 proto kernel scope link src 172.17.0.1
192.168.0.0/24 dev eno1 proto kernel scope link src 192.168.0.100
192.168.0.1 dev eno1 proto dhcp scope link src 192.168.0.100 metric 100
192.168.0.0 is the NAS's local network, 10.76.45.0 is the VPN network.
Could it be as simple as deleting all the tun0 routes except the one for the VPN network ?
I know my way around basic networking stuff, but never got to dive into iptables stuff...