Two nics, two ISP's, one for internet, one for SSL server
This linux box is not a router, and with its two nics it serves as a OpenVPN server (on eth0) and an SSL server (on eth1).
eth0: 192.168.1.88 connected via internet modem 192.168.1.2
eth1: 188.8.131.52, public address
184.108.40.206 should serve an ssl server (no other traffic).
When enabling both nics, I get two default gateways, and the default gateway of 220.127.116.11 (18.104.22.168) gets precedence. This is bad, because then the OpenVPN server on eth0 is no longer accessible from the internet. That is why I have disabled eth1 for the moment.
So I want to have only traffic on port 443 to go through eth1. I have read the howto's on Linux Advanced Routing & Traffic Control HOWTO and LiNUX Horizon - Linux Advanced Routing mini HOWTO but none of the examples fits. I get all kinds of problems trying the solutions.
I have installed iptables2, and tried some ip route commands but it does not work. Still, it should be pretty simple! The only thing I want is SSL (port 443) traffic to go through eth1 and the rest through eth0. Any ideas?