Hi Everyone,
I have the following network - see image.
I have failover between two ISP working perfectly using check-gateway and default route cost.
I have 1 mailserver with 1:1 static NAT to ISP1 the primary. So my internal IP NATS to a static External IP from ISP1
What I want to achieve, is when ISP1 goes down, to have the NAT rules for the server to change to NAT via ISP2 which has a different public IP.
Please can you suggest a technique that I can use as a starting point?
Many thanks,
Alex
EDIT: I should be more clear. Masq rules wont help me here (I already have them anyway for the outbound traffic) I need to be able to re-write the 1:1 static NAT rules for INBOUND traffic TO the mailserver, and then also re-write the NAT ruls for OUTBOUND traffic FROM the mail server. This means that as far as the internet is concerned my Mail Server has 2 public IP addresses, one via ISP1 and one via ISP2. Then I can write my DKIM and SPF and MX rules to know and bind to these IP addresses properly.
Thanks.
