I have a server with two interfaces: eth0
and dummy0
, both have different public IP.
How to route all traffic from specific program (daemon) through dummy0, using iptables?
I want the daemon to establish an internet connection via a different public IP, that i have on the dummy0
interface.
I need the demon traffic to be routed only through the second public IP address of my server.
I've tried many examples, but with no success...