- Timestamp:
- Jul 26, 2015, 11:42:47 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/gformat.py
r13303 r13305 751 751 # Hybrid Configuration 752 752 # 753 list_ileiden_proxies=" 754 {% for item in autogen_ileiden_proxies -%} 755 {{ "%-16s"|format(item.masterip) }} # {{ item.autogen_realname }} 756 {% endfor -%} 757 " 758 list_normal_proxies=" 759 {% for item in autogen_normal_proxies -%} 760 {{ "%-16s"|format(item.masterip) }} # {{ item.autogen_realname }} 761 {% endfor -%} 762 " 763 753 764 captive_portal_interfaces="{{ autogen_dhcp_interfaces|join(',')|default('none', true) }}" 754 765 externalif="{{ externalif|default('vr0', true) }}" … … 776 787 pf_flags="-D ext_if=$externalif -D ext_if_net=$externalif:network -D masterip=$masterip" 777 788 pf_flags="$pf_flags -D publicnat=0" 778 lvrouted_flags="$lvrouted_flags "789 lvrouted_flags="$lvrouted_flags -z `make_list "$list_ileiden_proxies" ","`" 779 790 named_setfib="1" 780 791 tinyproxy_setfib="1" … … 785 796 pf_rules="/etc/pf.node.conf" 786 797 pf_flags="" 787 lvrouted_flags="$lvrouted_flags "798 lvrouted_flags="$lvrouted_flags -z `make_list "$list_ileiden_proxies" ","`" 788 799 {% endif %} 789 800 {% if service_concentrator %} … … 823 834 # 824 835 836 # iLeiden Proxies {{ autogen_ileiden_proxies_names }} 837 list_ileiden_proxies="{{ autogen_ileiden_proxies_ips }}" 838 # normal Proxies {{ autogen_normal_proxies_names }} 839 list_normal_proxies="{{ autogen_normal_proxies_ips }}" 840 825 841 captive_portal_interfaces="{{ autogen_dhcp_interfaces|join(',') }}" 826 842 827 lvrouted_flags="-u -s s00p3rs3kr3t -m 28 "843 lvrouted_flags="-u -s s00p3rs3kr3t -m 28 -z $list_ileiden_proxies" 828 844 {% endif %} 829 845
Note:
See TracChangeset
for help on using the changeset viewer.