IP Tables and two internet connections
I just save setup NAT with two internet connections (fedora core 3):
eth2 is one internet connection, default gateway (let's say 126.96.36.199)
eth0 is another internet connection 188.8.131.52 with bunch of static routes (national ip pool) for this example let's say there is only one static route to 184.108.40.206/16
eth1 is lan 192.168.0.254 (192.168.0.0/24)
nat working fine, static route balance connections right as I which but problem is incomming connection (smtp for now or can be any other)
I have two mx records:
-A PREROUTING -p tcp -m tcp --dport 25 -j DNAT --to-destination 192.168.0.28
when ip 220.127.116.11 connect to 18.104.22.168 all working fine but:
when ip 22.214.171.124 connect to 126.96.36.199 connection drop because (I supose) answer going to eth0 (188.8.131.52).
What I should do, why iptables didn't keep connection persists ?
Tnx in advance
P.S. i'm newbie in linux world
P.P.S. sorry about that english :)