Changeset 10524 in genesis
- Timestamp:
- Apr 17, 2012, 8:48:39 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/gformat.py
r10521 r10524 505 505 # Hybrid Configuration 506 506 # 507 captive_portal_interfaces="{{ autogen_dhcp_interfaces }}"508 externalif="{{ externalif }}"507 captive_portal_interfaces="{{ autogen_dhcp_interfaces|default('none', true) }}" 508 externalif="{{ externalif|default('vr0', true) }}" 509 509 masterip="{{ masterip }}" 510 510 511 511 pf_rules="/etc/pf.hybrid.conf" 512 pf_flags_hybrid="-D ext_if=$externalif -D ext_if_net=$externalif:network -D captive_portal_interfaces=$captive_portal_interfaces -D masterip=$masterip" 512 513 {% if service_ileiden -%} 513 514 # Service iLeiden 514 515 service_ileiden="yes" 515 pf_flags=" -D ext_if=${externalif:-'vr0'} -D captive_portal_interfaces=${captive_portal_interfaces:-'none'} -D masterip=$masterip-D publicnat=80,443"516 pf_flags="$pf_flags_hybrid -D publicnat=80,443" 516 517 {% else -%} 517 pf_flags=" -D ext_if=${externalif:-'vr0'} -D captive_portal_interfaces=${captive_portal_interfaces:-'none'} -D masterip=$masterip-D publicnat=0"518 pf_flags="$pf_flags_hybrid -D publicnat=0" 518 519 {% endif -%} 519 520
Note:
See TracChangeset
for help on using the changeset viewer.