Use common name instead of IP address as listening address for IPSec gateway

This commit is contained in:
Lauri Võsandi 2016-03-29 12:28:10 +03:00
parent 799b9e19c8
commit e721648328
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ conn site-to-clients
auto=add
right=%any # Allow connecting from any IP address
rightsourceip={{subnet}} # Serve virtual IP-s from this pool
left={{local}} # Gateway IP address
left={{common_name}} # Gateway IP address
leftcert={{certificate_path}} # Gateway certificate
{% if route %}
{% if route | length == 1 %}