summaryrefslogtreecommitdiff
path: root/data/templates/ipsec/charon/dhcp.conf.tmpl
blob: 96dfd763328df0f15a3a9066142730ea561defb4 (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 options is defined and options.remote_access is defined and options.remote_access.dhcp is defined %}
{%   if options.remote_access.dhcp.interface is defined %}
    interface = {{ options.remote_access.dhcp.interface }}
{%   endif %}
{%   if options.remote_access.dhcp.server is defined %}
    server = {{ options.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
}