Another interesting problem.
For example, i have 2 web servers behind NAT with IPs 192.168.1.5 and 192.168.1.6
And I have only one WAN (extrernat internet IP) and only ONE... port - 80
I need, to... if first web server will out of rage, the second (reserve) will being accessible instead of the FIRST!
If it's looks like routes - there is no problem - distance=1 and distance=2. BUT... if it is 2 servers behind NAT... can they be exchangeable if first server will offline?
Here is a standard rule for internal web server, behind NAT... to bee accessible from the Internet:
Code: Select all
add action=dst-nat chain=dstnat disabled=yes dst-address=31.31.31.31 dst-port=80 protocol=tcp to-addresses=192.168.1.5 to-ports=80
HOW-TO... do what automatically, please HELP!!!