Changeset 10715 in genesis


Ignore:
Timestamp:
May 7, 2012, 9:11:53 PM (13 years ago)
Author:
rick
Message:

Denk je net alles gehad te hebben, komt er iemand die UDP wilt ;-).

Tevens de reeds bekende redirects in de config files gezet.

Related-To: nodefactory#152

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • nodes/HybridRick2/wleiden.yaml

    r10714 r10715  
    2020rdr_host: "riff.vanderzwet.net"
    2121rdr_rules :
    22 - [9080, '172.17.0.41', 80]
    23 - [9081, '172.17.0.42', 80]
    24 - [9082, '172.17.0.43', 80]
    25 - [9083, '172.17.0.44', 80]
     22- ['tcp', 9080, '172.17.0.41', 80]
     23- ['tcp', 9081, '172.17.0.42', 80]
     24- ['tcp', 9082, '172.17.0.43', 80]
     25- ['tcp', 9083, '172.17.0.44', 80]
    2626remote_access: "riff.vanderzwet.net:2022"
    2727
  • nodes/HybridRund/wleiden.yaml

    r10701 r10715  
    1919service_proxy_normal: True
    2020status    : "up"
     21rdr_host: "83.163.239.115"
     22rdr_rules :
     23- ['tcp', 9080, '172.17.0.41', 80]
     24- ['tcp', 9081, '172.17.0.42', 80]
     25- ['tcp', 9082, '172.17.0.43', 80]
     26- ['tcp', 9083, '172.17.0.44', 80]
    2127
    2228
  • nodes/HybridWBRotary/wleiden.yaml

    r10701 r10715  
    2020service_proxy_normal: True
    2121status    : "up"
     22rdr_host: "94.209.113.8"
     23rdr_rules :
     24- ['tcp', 21, '172.17.0.45', 21]
     25- ['tcp', 84, '172.17.0.41', 80]
     26- ['tcp', 85, '172.17.0.42', 80]
     27- ['tcp', 86, '172.17.0.43', 80]
     28- ['tcp', 87, '172.17.0.44', 80]
     29- ['tcp', 554, '172.17.0.43', 554]
     30- ['udp', 1194, '172.19.128.68', 1194]
     31- ['tcp', 3389, '172.17.0.45', 3389]
    2232
    2333
  • tools/gformat.py

    r10714 r10715  
    796796# Redirect some internal facing services outside (7)
    797797# INFO: {{ rdr_rules|count }} rdr_rules (outside to internal redirect rules) defined.
    798 {% for src_port,dest_ip,dest_port in rdr_rules -%}
    799 rdr on $ext_if inet proto tcp from any to $ext_if port {{ src_port }} tag SRV -> {{ dest_ip }} port {{ dest_port }}
     798{% for protocol, src_port,dest_ip,dest_port in rdr_rules -%}
     799rdr on $ext_if inet proto {{ protocol }} from any to $ext_if port {{ src_port }} tag SRV -> {{ dest_ip }} port {{ dest_port }}
    800800{% endfor -%}
    801801""").render(datadump)
Note: See TracChangeset for help on using the changeset viewer.