I'm trying to create a Debian server where one connection is to an OpenVPN VPN and another is direct. I've got a VPS in the cloud but it's only got a single Ethernet NIC (does that matter?). I'm only using the VPN connection to backup the VPS drives to my SMB drives, and I want everything else to go thru a non-tunneled connection.
How can I do this?
Is there a way I can direct which internet interface a command on the terminal goes through?
It's generally called split routing.
You'd have to set up a routing table, telling your operating system that the backup target is reachable over VPN, and the rest of the internet is reachable via some other means.