![Digi IX20 User Manual Download Page 275](http://html.mh-extra.com/html/digi/ix20/ix20_user-manual_2496666275.webp)
Virtual Private Networks (VPN)
IPsec
IX20 User Guide
275
The IPsec tunnel is enabled by default. To disable:
(config vpn ipsec tunnel ipsec_example)> enable false
(config vpn ipsec tunnel ipsec_example)>
4. (Optional) Configure the device to serve as a backup IPsec tunnel.
When configuring a backup IPsec tunnel the
ipsec_failover
parameter instructs the backup
tunnel to only start when the primary tunnel is determined to have failed. It will continue to
operate until the preferred tunnel returns to full operational status.
When configuring the primary tunnel, and when configuring tunnels that will not fail over to a
backup tunnel, do not set this parameter.
a. Use the
?
to view a list of available tunnels:
(config vpn ipsec tunnel ipsec_example)> ipsec_failover ?
Preferred tunnel: This tunnel will not start until the preferred tunnel
has failed. It will continue
to operate until the preferred tunnel returns to full operation status.
Format:
primary_ipsec_tunnel
Optional: yes
Current value:
(config vpn ipsec tunnel ipsec_example)> ipsec_failover
b. Set the primary IPsec tunnel:
(config vpn ipsec tunnel ipsec_example)> ipsec_failover
primary_ipsec_
tunnel
(config vpn ipsec tunnel ipsec_example)>
5. (Optional) Set the tunnel to use UDP encapsulation even when it does not detect that NAT is
being used:
(config vpn ipsec tunnel ipsec_example)> force_udp_encap true
(config vpn ipsec tunnel ipsec_example)>
6. Set the firewall zone for the IPsec tunnel. Generally this should be left at the default of
ipsec
.
(config vpn ipsec tunnel ipsec_example)> zone
zone
(config vpn ipsec tunnel ipsec_example)>
To view a list of available zones:
(config vpn ipsec tunnel ipsec_example)> zone ?
Zone: The firewall zone assigned to this IPsec tunnel. This can be used by
packet filtering rules
and access control lists to restrict network traffic on this tunnel.
Format:
any