Route traffic to certain IP addresses out a certain network interface
Hello, all! I have a desktop with an ethernet connection to a private, internal network and a wireless connection to a public, external network. I want to make sure only connections to 10.*.*.* goes over the private interface and all other traffic goes over the public interface. The private interface can route traffic out to the external network, but I don't want it to.
I am familiar with route and iptables, but I don't see anything in the man pages about how to do this. How can I implement this?