Use gateway ip address for wireguard interface

This commit is contained in:
James Kelly 2018-09-14 20:16:17 -05:00
parent 4e5103986c
commit 5c64f69e1f

View file

@ -1,5 +1,5 @@
[Interface]
Address = {{ wireguard_network_ipv4['subnet'] }}/{{ wireguard_network_ipv4['prefix'] }}{% if ipv6_support %},{{ wireguard_network_ipv6['gateway'] }}/{{ wireguard_network_ipv6['prefix'] }}
Address = {{ wireguard_network_ipv4['gateway'] }}/{{ wireguard_network_ipv4['prefix'] }}{% if ipv6_support %},{{ wireguard_network_ipv6['gateway'] }}/{{ wireguard_network_ipv6['prefix'] }}
{% endif %}
ListenPort = {{ wireguard_port }}