Changeset 10521 in genesis for tools


Ignore:
Timestamp:
Apr 17, 2012, 7:40:26 AM (13 years ago)
Author:
rick
Message:

Need the masterip for the NAT rules.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/gformat.py

    r10482 r10521  
    507507captive_portal_interfaces="{{ autogen_dhcp_interfaces }}"
    508508externalif="{{ externalif }}"
     509masterip="{{ masterip }}"
    509510
    510511pf_rules="/etc/pf.hybrid.conf"
     
    512513# Service iLeiden
    513514service_ileiden="yes"
    514 pf_flags="-D ext_if=${externalif:-'vr0'} -D captive_portal_interfaces=${captive_portal_interfaces:-'none'} -D publicnat=80,443"
     515pf_flags="-D ext_if=${externalif:-'vr0'} -D captive_portal_interfaces=${captive_portal_interfaces:-'none'} -D masterip=$masterip -D publicnat=80,443"
    515516{% else -%}
    516 pf_flags="-D ext_if=${externalif:-'vr0'} -D captive_portal_interfaces=${captive_portal_interfaces:-'none'} -D publicnat=0"
     517pf_flags="-D ext_if=${externalif:-'vr0'} -D captive_portal_interfaces=${captive_portal_interfaces:-'none'} -D masterip=$masterip -D publicnat=0"
    517518{% endif -%}
    518519
Note: See TracChangeset for help on using the changeset viewer.