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:
So... is it possible to access second NAT server if FIRST will be lay down?
Code: Select all
add action=dst-nat chain=dstnat disabled=yes dst-address=126.96.36.199 dst-port=80 protocol=tcp to-addresses=192.168.1.5 to-ports=80
HOW-TO... do what automatically, please HELP!!!