Changeset 10244 in genesis
- Timestamp:
- Mar 19, 2012, 11:47:59 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/gformat.py
r10238 r10244 300 300 {% endif -%} 301 301 302 {% if nodetype == "Proxy" %}302 {% if nodetype == "Proxy" or nodetype == "Hybrid" %} 303 303 # 304 # PROXYConfiguration304 # Edge Configuration 305 305 # 306 307 308 # Firewall and Routing Configuration 306 309 307 310 {% if gateway -%} … … 310 313 #defaultrouter="NOTSET" 311 314 {% endif -%} 312 313 315 internalif="{{ internalif }}" 314 315 # PROXY iLeiden Configuration316 316 ileiden_enable="{{ autogen_ileiden_enable }}" 317 317 gateway_enable="{{ autogen_ileiden_enable }}" … … 338 338 # iLeiden Proxies {{ autogen_ileiden_proxies_names }} 339 339 lvrouted_flags="-u -s s00p3rs3kr3t -m 28 -z {{ autogen_ileiden_proxies }}" 340 {% endif %} 341 {% if vpnif -%} 342 vpnif="{{ vpnif }}" 343 {% endif -%} 340 344 341 345 captive_portal_whitelist="" 342 346 captive_portal_interfaces="{{ autogen_dhcp_interfaces }}" 343 {% endif %}344 345 {% if nodetype == "Hybrid" %}346 #347 # Hybrid Node348 #349 {% if internalroute -%}350 static_routes="wleiden"351 route_wleiden="-net 172.16.0.0/12 {{ internalroute }}"352 {% endif -%}353 354 {% if gateway -%}355 defaultrouter="{{ gateway }}"356 {% else -%}357 #defaultrouter="NOTSET"358 {% endif -%}359 360 internalif="{{ internalif }}"361 {% if vpnif -%}362 vpnif="{{ vpnif }}"\n363 {% endif -%}364 365 lvrouted_enable="{{ autogen_ileiden_enable }}"366 lvrouted_flags="-u -s s00p3rs3kr3t -m 28"367 368 gateway_enable="{{ autogen_ileiden_enable }}"369 370 ileiden_enable="{{ autogen_ileiden_enable }}"371 firewall_enable="{{ autogen_ileiden_enable }}"372 firewall_script="/etc/ipfw.sh"373 374 captive_portal_whitelist=""375 captive_portal_interfaces="{{ autogen_dhcp_interfaces }}"376 {% endif %}377 347 378 348 """).render(datadump)
Note:
See TracChangeset
for help on using the changeset viewer.