Changeset 11538 in genesis


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.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • nodes/HybridHuub/wleiden.yaml

    r11537 r11538  
    2020service_proxy_ileiden: True
    2121service_proxy_normal: True
     22service_concentrator: True
    2223status    : "up"
    2324
  • 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.