summaryrefslogtreecommitdiff
path: root/data/templates/ipsec/charon/dhcp.conf.j2
blob: aaa5613fbeb51c1dd685c9c8375c253ee38d3d61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
dhcp {
    load = yes
{% if remote_access.dhcp.interface is vyos_defined %}
    interface = {{ remote_access.dhcp.interface }}
{% endif %}
{% if remote_access.dhcp.server is vyos_defined %}
    server = {{ remote_access.dhcp.server }}
{% 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
}