Changeset 10190 in genesis


Ignore:
Timestamp:
Mar 17, 2012, 12:15:14 PM (13 years ago)
Author:
richardvm
Message:

seperate hybrid from proxy of node

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/gformat.py

    r10188 r10190  
    294294{% endif -%}
    295295
    296 {% if nodetype == "Proxy" or nodetype == "Hybrid" %}
     296{% if nodetype == "Proxy" %}
    297297#
    298298# PROXY Configuration
     
    310310
    311311internalif="{{ internalif }}"
    312 {% if vpnif -%}
    313   vpnif="{{ vpnif }}"\n
    314 {% endif -%}
    315312
    316313# PROXY iLeiden Configuration
     
    339336# Hybrid Node
    340337#
     338{% if internalroute -%}
     339static_routes="wleiden"
     340route_wleiden="-net 172.16.0.0/12 {{ internalroute }}"
     341{% endif -%}
     342
     343{% if gateway -%}
     344defaultrouter="{{ gateway }}"
     345{% else -%}
     346#defaultrouter="NOTSET"
     347{% endif -%}
     348
     349internalif="{{ internalif }}"
     350{% if vpnif -%}
     351  vpnif="{{ vpnif }}"\n
     352{% endif -%}
     353
     354lvrouted_enable="{{ autogen_ileiden_enable }}"
    341355lvrouted_flags="-u -s s00p3rs3kr3t -m 28"
     356
     357gateway_enable="{{ autogen_ileiden_enable }}"
     358
     359ileiden_enable="{{ autogen_ileiden_enable }}"
     360firewall_enable="{{ autogen_ileiden_enable }}"
     361firewall_script="/etc/ipfw.sh"
    342362
    343363captive_portal_whitelist=""
    344364captive_portal_interfaces="{{ autogen_dhcp_interfaces }}"
    345365{% endif %}
    346 
    347366
    348367""").render(datadump)
Note: See TracChangeset for help on using the changeset viewer.