I need to route all traffic coming and going from/to eth0 through openVPN before I send/receive it to/from eth1, this is a virtual machine Debian, you can call it a virtual router.
The idea is to put a dhcp on eth1, clients will connect to eth1. I want all clients to automatically be connected to the SVN.
Currently, I can route eth0 to eth1 with a DHCP in between, so clients will get their IP address and are able to browse, but as soon as I turn on openVPN, the clients can't access internet anymore.
To illustrate what I want, this might help:
How to achieve this?