Page MenuHomeVyOS Platform

ndppd.conf.tmpl
No OneTemporary

Size
1 KB
Referenced Files
None
Subscribers
None

ndppd.conf.tmpl

########################################################
#
# autogenerated by nat66.py
#
# The configuration file must define one upstream
# interface.
#
# For some services, such as nat66, because it runs
# stateless, it needs to rely on NDP Proxy to respond
# to NDP requests.
#
# When using nat66 source rules, NDP Proxy needs
# to be enabled
#
########################################################
{% set global = namespace(ndppd_interfaces = [],ndppd_prefixs = []) %}
{% if source is defined and source.rule is defined and source.rule is not none %}
{% for rule, config in source.rule.items() if config.disable is not defined %}
{% if config.outbound_interface is defined %}
{% if config.outbound_interface not in global.ndppd_interfaces %}
{% set global.ndppd_interfaces = global.ndppd_interfaces + [config.outbound_interface] %}
{% endif %}
{% if config.translation is defined and config.translation.address is defined and config.translation.address | is_ip_network %}
{% set global.ndppd_prefixs = global.ndppd_prefixs + [{'interface':config.outbound_interface,'rule':config.translation.address}] %}
{% endif %}
{% endif %}
{% endfor %}
{% endif %}
{% for interface in global.ndppd_interfaces %}
proxy {{ interface }} {
router yes
timeout 500
ttl 30000
{% for map in global.ndppd_prefixs %}
{% if map.interface == interface %}
rule {{ map.rule }} {
static
}
{% endif %}
{% endfor %}
}
{% endfor %}

File Metadata

Mime Type
text/plain
Expires
Sat, Oct 17, 12:24 AM (6 h, 46 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4407049
Default Alt Text
ndppd.conf.tmpl (1 KB)

Event Timeline