25.06.2013 Views

CLI Guide - WatchGuard Technologies

CLI Guide - WatchGuard Technologies

CLI Guide - WatchGuard Technologies

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Top-level configuration mode commands<br />

(For one-to-one and subnet-to-subnet mapping)<br />

This argument specifies (1) that this is a static NAT<br />

action, and records the address groups associated<br />

with the internal and external sources. The address<br />

groups can be single IP addresses or subnets.<br />

-vip | -<br />

server [+] \<br />

{ [IP address] …<br />

}><br />

This argument specifies that this is a loadbalancing<br />

(virtual IP) NAT action, and records (1)<br />

the algorithm that will be applied and (2) the server<br />

addresses and port numbers. If a weighted<br />

algorithm is used, this argument adds (3) the perserver<br />

weight assignments.<br />

The load-balancing algorithm argument values<br />

include the following entries:<br />

round_robin: Denotes the round robin algorithm<br />

wround_robin: Denotes weighted round robin<br />

random: Denotes random<br />

wrandom: Denotes weighted random<br />

least_connection: Denotes least connection<br />

wleast_connection: Denotes weighted least<br />

connection<br />

TIP<br />

If you are adding a new server/weight to an<br />

existing VIP NAT action, prefix the new server<br />

record with a “+” character.<br />

If you are entering the “server” argument, you<br />

must note (1) the IP address of the server, the port<br />

number it will watch and the proportion of traffic<br />

this server will be assigned, noted as a whole<br />

number.<br />

<strong>WatchGuard</strong> Command Line Interface <strong>Guide</strong> 55

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!