Changeset 14206 in genesis
- Timestamp:
- Aug 29, 2018, 7:03:25 PM (6 years ago)
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
nodes/Meerburg/wleiden.yaml
r14205 r14206 22 22 status : "up" 23 23 whitelist : ['58:12:43:AA:6E:D6'] 24 publicnat : ['http', 'https', 'submission', 'imaps', 'pop3s'] 24 25 25 26 -
nodes/Rick/wleiden.yaml
r14205 r14206 26 26 serviceid : "172.31.254.9" 27 27 status : "up" 28 publicnat : ['http', 'https', 'submission', 'imaps', 'pop3s'] 28 29 29 30 -
tools/gformat.py
r14199 r14206 171 171 'autogen_gfile' : gfile, 172 172 'service_proxy_ileiden' : False, 173 'publicnat' : ['http', 'https'], 173 174 } 174 175 f = open(gfile, 'r') … … 836 837 pf_rules="/etc/pf.conf" 837 838 {% if autogen_ileiden_enable -%} 838 pf_flags="-D ext_if={{ externalif }} -D int_if={{ internalif }} -D publicnat={ 80,443}"839 pf_flags="-D ext_if={{ externalif }} -D int_if={{ internalif }} -D publicnat={{ publicnat|join(',') }} -D ileiden_ports={{ publicnat|join(',') }}" 839 840 lvrouted_enable="{{ autogen_ileiden_enable }}" 840 841 lvrouted_flags="-u -s s00p3rs3kr3t -m 28" … … 892 893 pf_flags="-D ext_if=$externalif -D ext_if_net=$externalif:network -D inet_if=$externalif -D inet_ip='($externalif:0)' -D masterip=$masterip" 893 894 {% endif %} 894 pf_flags="$pf_flags -D publicnat= 80,443"895 pf_flags="$pf_flags -D publicnat={{ publicnat|join(',') }}" 895 896 lvrouted_flags="$lvrouted_flags -g" 896 897 {% elif service_proxy_normal or service_incoming_rdr %} … … 906 907 named_auto_forward_only="YES" 907 908 pf_rules="/etc/pf.node.conf" 908 pf_flags=" "909 pf_flags="-D ileiden_ports={{ publicnat|join(',') }}" 909 910 lvrouted_flags="$lvrouted_flags -z `make_list "$list_ileiden_proxies" ","`" 910 911 {% endif %}
Note:
See TracChangeset
for help on using the changeset viewer.