Changeset 10238 in genesis for tools


Ignore:
Timestamp:
Mar 18, 2012, 9:01:29 PM (13 years ago)
Author:
richardvm
Message:

firewall needs be on at all time

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/gformat.py

    r10234 r10238  
    304304# PROXY Configuration
    305305#
    306 {% if internalroute -%}
    307 static_routes="wleiden"
    308 route_wleiden="-net 172.16.0.0/12 {{ internalroute }}"
    309 {% endif -%}
    310306
    311307{% if gateway -%}
     
    318314
    319315# PROXY iLeiden Configuration
     316ileiden_enable="{{ autogen_ileiden_enable }}"
     317gateway_enable="{{ autogen_ileiden_enable }}"
     318pf_enable="yes"
     319pf2_enable="yes"
     320{% if autogen_ileiden_enable == "yes" -%}
     321pf_flags="-D ext_if={{ externalif }} -D int_if={{ internalif }} -D publicnat={80,443}"
    320322lvrouted_enable="{{ autogen_ileiden_enable }}"
    321323lvrouted_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 -%}
     325pf_flags="-D ext_if={{ externalif }} -D int_if={{ internalif }} -D publicnat={0}"
     326{% if internalroute -%}
     327static_routes="wleiden"
     328route_wleiden="-net 172.16.0.0/12 {{ internalroute }}"
     329{% endif -%}
     330{% endif -%}
     331
    327332{% endif -%}
    328333
Note: See TracChangeset for help on using the changeset viewer.