summaryrefslogtreecommitdiff
path: root/data/templates/ipsec/charon/dhcp.conf.tmpl
blob: 92774b275382666d569549d9c196ac7f75590dc1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
dhcp {
    load = yes
{% if remote_access is defined and remote_access.dhcp is defined %}
{%   if remote_access.dhcp.interface is defined %}
    interface = {{ remote_access.dhcp.interface }}
{%   endif %}
{%   if remote_access.dhcp.server is defined %}
    server = {{ remote_access.dhcp.server }}
{%   endif %}
{% endif %}

    # Always use the configured server address.
    # force_server_address = no

    # Derive user-defined MAC address from hash of IKE identity and send client
    # identity DHCP option.
    # identity_lease = no

    # Use the DHCP server port (67) as source port when a unicast server address
    # is configured.
    # use_server_port = no
}