![Digi IX20 User Manual Download Page 345](http://html.mh-extra.com/html/digi/ix20/ix20_user-manual_2496666345.webp)
Virtual Private Networks (VPN)
Generic Routing Encapsulation (GRE)
IX20 User Guide
345
6. Add a policy:
(config vpn ipsec tunnel ipsec_gre2)> add policy end
(config vpn ipsec tunnel ipsec_gre2 policy 0)>
7. Set the local network policy type to
custom
:
(config vpn ipsec tunnel ipsec_gre2 policy 0)> local type custom
(config vpn ipsec tunnel ipsec_gre2 policy 0)>
8. Set the local network address to the IP address and subnet of the local GRE tunnel,
172.30.0.2/32
:
(config vpn ipsec tunnel ipsec_gre2 policy 0)> local custom 172.30.0.2/32
(config vpn ipsec tunnel ipsec_gre2 policy 0)>
9. Set the remote network address to the IP address and subnet of the remote GRE tunnel,
172.30.0.1/32
:
(config vpn ipsec tunnel ipsec_gre2 policy 0)> remote network 172.30.0.1/32
(config vpn ipsec tunnel ipsec_gre2 policy 0)>
10. Save the configuration and apply the change:
(config vpn ipsec tunnel ipsec_gre2 policy 0)> save
Configuration saved.
>
Task two: Create an IPsec endpoint interface
WebUI
1. Click
Network
>
Interfaces
.
2. For
Add Interface
, type
ipsec_endpoint2
and click
.
3. For
Zone
, select
Internal
.
4. For
Device
, select
Ethernet: loopback
.
5. Click to expand
IPv4
.