- Timestamp:
- May 7, 2012, 9:11:53 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.