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 18.104.22.168)
eth0 is another internet connection 22.214.171.124 with bunch of static routes (national ip pool) for this example let's say there is only one static route to 126.96.36.199/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 188.8.131.52 connect to 184.108.40.206 all working fine but:
when ip 220.127.116.11 connect to 18.104.22.168 connection drop because (I supose) answer going to eth0 (22.214.171.124).
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 :)