Changeset 11538 in genesis for tools/gformat.py


Ignore:
Timestamp:
Oct 10, 2012, 7:46:03 PM (12 years ago)
Author:
rick
Message:

Magical concentrator 'trick'

Def concentrator: Route all traffic to VPN concentrator on the internet to
'secure' the sponsored internet connection from over active spam/virus
controller messages and actions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/gformat.py

    r11535 r11538  
    168168        'service_accesspoint' : True,
    169169        'service_incoming_rdr' : False,
     170        'service_concentrator' : False,
    170171        'monitoring_group' : 'wleiden',
    171172      }
     
    728729  service_accesspoint="{{ service_accesspoint|yesorno }}"
    729730  service_incoming_rdr="{{ service_incoming_rdr|yesorno }}"
     731  service_concentrator="{{ service_concentrator|yesorno }}"
    730732  #
    731733
    732   {% if service_proxy_ileiden %}
     734  {% if service_concentrator %}
     735    pf_rules="/etc/pf.hybrid-with-concentrator.conf"
     736    pf_flags="-D ext_if=$externalif -D ext_if_net=$externalif:network -D masterip=$masterip"
     737    pf_flags="$pf_flags -D publicnat=80,443"
     738  {% elif service_proxy_ileiden %}
    733739    pf_rules="/etc/pf.hybrid.conf"
    734740    pf_flags="-D ext_if=$externalif -D ext_if_net=$externalif:network -D masterip=$masterip"
Note: See TracChangeset for help on using the changeset viewer.