######################################################## # # 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 # ######################################################## {% for i in interface %} {%- if not interface[i].disable %} proxy {{ i }} { router {{ interface[i].router }} timeout {{ interface[i].timeout }} ttl {{ interface[i].ttl }} {% for p in interface[i].prefix %} rule {{ p }} { {% if interface[i].prefix[p].mode == 'auto' %} auto {% elif interface[i].prefix[p].mode == 'static' %} static {% elif interface[i].prefix[p].mode == 'iface' and interface[i].prefix[p].iface %} iface {{ interface[i].prefix[p].iface }} {% endif %} } {%- endfor %} } {%- endif %} {% endfor %}