Changeset 10238 in genesis
- Timestamp:
- Mar 18, 2012, 9:01:29 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/gformat.py
r10234 r10238 304 304 # PROXY Configuration 305 305 # 306 {% if internalroute -%}307 static_routes="wleiden"308 route_wleiden="-net 172.16.0.0/12 {{ internalroute }}"309 {% endif -%}310 306 311 307 {% if gateway -%} … … 318 314 319 315 # PROXY iLeiden Configuration 316 ileiden_enable="{{ autogen_ileiden_enable }}" 317 gateway_enable="{{ autogen_ileiden_enable }}" 318 pf_enable="yes" 319 pf2_enable="yes" 320 {% if autogen_ileiden_enable == "yes" -%} 321 pf_flags="-D ext_if={{ externalif }} -D int_if={{ internalif }} -D publicnat={80,443}" 320 322 lvrouted_enable="{{ autogen_ileiden_enable }}" 321 323 lvrouted_flags="-u -s s00p3rs3kr3t -m 28" 322 ileiden_enable="{{ autogen_ileiden_enable }}" 323 gateway_enable="{{ autogen_ileiden_enable }}" 324 pf_enable="{{ autogen_ileiden_enable }}" 325 pf_flags="-D ext_if={{ externalif }} -D int_if={{ internalif }} -D publicnat={80,443}" 326 pf2_enable="{{ autogen_ileiden_enable }}" 324 {% else -%} 325 pf_flags="-D ext_if={{ externalif }} -D int_if={{ internalif }} -D publicnat={0}" 326 {% if internalroute -%} 327 static_routes="wleiden" 328 route_wleiden="-net 172.16.0.0/12 {{ internalroute }}" 329 {% endif -%} 330 {% endif -%} 331 327 332 {% endif -%} 328 333
Note:
See TracChangeset
for help on using the changeset viewer.