Changeset 10587 in genesis
- Timestamp:
- Apr 26, 2012, 1:54:36 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/gformat.py
r10585 r10587 538 538 # 539 539 540 {% if service_proxy_ileiden or service_proxy_normal%}540 {% if service_proxy_ileiden %} 541 541 pf_rules="/etc/pf.hybrid.conf" 542 542 pf_flags="-D ext_if=$externalif -D ext_if_net=$externalif:network -D masterip=$masterip" 543 544 {% if service_proxy_ileiden %} 545 pf_flags="$pf_flags -D publicnat=80,443" 546 {% else %} 547 pf_flags="$pf_flags -D publicnat=0" 548 {% endif %} 549 550 {% if service_proxy_normal %} 551 pf_flags="$pf_flags -D ext_if_default_route={{ gateway|default('127.127.127.127') }}" 552 lvrouted_flags="$lvrouted_flags -z $list_ileiden_proxies" 553 {% endif %} 543 pf_flags="$pf_flags -D publicnat=80,443" 544 {% elif service_proxy_normal %} 545 pf_rules="/etc/pf.proxy_normal.conf" 546 pf_flags="-D ext_if=$externalif -D ext_if_net=$externalif:network -D masterip=$masterip" 547 pf_flags="$pf_flags -D ext_if_gw=${ext_if_gw:-"{{ gateway|default('127.127.127.127') }}"}" 548 lvrouted_flags="$lvrouted_flags -z $list_ileiden_proxies" 554 549 {% else %} 555 550 pf_rules="/etc/pf.node.conf" 551 pf_flags="" 556 552 {% endif %} 557 553
Note:
See TracChangeset
for help on using the changeset viewer.