Changeset 10190 in genesis
- Timestamp:
- Mar 17, 2012, 12:15:14 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/gformat.py
r10188 r10190 294 294 {% endif -%} 295 295 296 {% if nodetype == "Proxy" or nodetype == "Hybrid"%}296 {% if nodetype == "Proxy" %} 297 297 # 298 298 # PROXY Configuration … … 310 310 311 311 internalif="{{ internalif }}" 312 {% if vpnif -%}313 vpnif="{{ vpnif }}"\n314 {% endif -%}315 312 316 313 # PROXY iLeiden Configuration … … 339 336 # Hybrid Node 340 337 # 338 {% if internalroute -%} 339 static_routes="wleiden" 340 route_wleiden="-net 172.16.0.0/12 {{ internalroute }}" 341 {% endif -%} 342 343 {% if gateway -%} 344 defaultrouter="{{ gateway }}" 345 {% else -%} 346 #defaultrouter="NOTSET" 347 {% endif -%} 348 349 internalif="{{ internalif }}" 350 {% if vpnif -%} 351 vpnif="{{ vpnif }}"\n 352 {% endif -%} 353 354 lvrouted_enable="{{ autogen_ileiden_enable }}" 341 355 lvrouted_flags="-u -s s00p3rs3kr3t -m 28" 356 357 gateway_enable="{{ autogen_ileiden_enable }}" 358 359 ileiden_enable="{{ autogen_ileiden_enable }}" 360 firewall_enable="{{ autogen_ileiden_enable }}" 361 firewall_script="/etc/ipfw.sh" 342 362 343 363 captive_portal_whitelist="" 344 364 captive_portal_interfaces="{{ autogen_dhcp_interfaces }}" 345 365 {% endif %} 346 347 366 348 367 """).render(datadump)
Note:
See TracChangeset
for help on using the changeset viewer.