Changeset 11540 in genesis


Ignore:
Timestamp:
Oct 10, 2012, 8:01:25 PM (12 years ago)
Author:
rick
Message:

Technically speaking is the concentrator only an extention of an ileiden proxy.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/gformat.py

    r11539 r11540  
    732732  #
    733733
    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 %}
     734  {% if service_proxy_ileiden %}
    739735    pf_rules="/etc/pf.hybrid.conf"
    740     pf_flags="-D ext_if=$externalif -D ext_if_net=$externalif:network -D masterip=$masterip"
     736    {% if service_concentrator %}
     737      pf_flags="-D ext_if=$externalif -D ext_if_net=$externalif:network -D inet_if=tun0 -D inet_ip='(tun0:0)' -D masterip=$masterip"
     738    {% else %}
     739      pf_flags="-D ext_if=$externalif -D ext_if_net=$externalif:network -D inet_if=$externalif -D inet_ip='($externalif:0)' -D masterip=$masterip"
     740    {% endif %}
    741741    pf_flags="$pf_flags -D publicnat=80,443"
    742742  {% elif service_proxy_normal or service_incoming_rdr %}
Note: See TracChangeset for help on using the changeset viewer.