Changeset 10715 in genesis
- Timestamp:
- May 7, 2012, 9:11:53 PM (13 years ago)
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
nodes/HybridRick2/wleiden.yaml
r10714 r10715 20 20 rdr_host: "riff.vanderzwet.net" 21 21 rdr_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] 26 26 remote_access: "riff.vanderzwet.net:2022" 27 27 -
nodes/HybridRund/wleiden.yaml
r10701 r10715 19 19 service_proxy_normal: True 20 20 status : "up" 21 rdr_host: "83.163.239.115" 22 rdr_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] 21 27 22 28 -
nodes/HybridWBRotary/wleiden.yaml
r10701 r10715 20 20 service_proxy_normal: True 21 21 status : "up" 22 rdr_host: "94.209.113.8" 23 rdr_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] 22 32 23 33 -
tools/gformat.py
r10714 r10715 796 796 # Redirect some internal facing services outside (7) 797 797 # 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 tcpfrom 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 -%} 799 rdr on $ext_if inet proto {{ protocol }} from any to $ext_if port {{ src_port }} tag SRV -> {{ dest_ip }} port {{ dest_port }} 800 800 {% endfor -%} 801 801 """).render(datadump)
Note:
See TracChangeset
for help on using the changeset viewer.