/[adm]/puppet/modules/xinetd/templates/port_forward
ViewVC logotype

Annotation of /puppet/modules/xinetd/templates/port_forward

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2676 - (hide annotations) (download)
Thu Mar 22 18:07:23 2012 UTC (12 years, 1 month ago) by misc
File size: 412 byte(s)
add a define for portforwarding with xinetd
1 misc 2676 service <%= name %>
2     {
3     disable = no
4     type = UNLISTED
5     <%- if protocol == 'tcp' -%>
6     socket_type = stream
7     <%- else -%>
8     socket_type = dgram
9     <%- end -%>
10     protocol = <%= protocol %>
11     user = nobody
12     wait = no
13     redirect = <%= target_ip %> <%= target_port %>
14     port = <%= port %>
15     }
16    

  ViewVC Help
Powered by ViewVC 1.1.30