aboutsummaryrefslogtreecommitdiffstats
path: root/modules/xinetd/templates/port_forward
diff options
context:
space:
mode:
Diffstat (limited to 'modules/xinetd/templates/port_forward')
-rw-r--r--modules/xinetd/templates/port_forward8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/xinetd/templates/port_forward b/modules/xinetd/templates/port_forward
index 1b76b0e1..7138dba2 100644
--- a/modules/xinetd/templates/port_forward
+++ b/modules/xinetd/templates/port_forward
@@ -1,4 +1,4 @@
-service <%= name %>
+service <%= @name %>
{
disable = no
type = UNLISTED
@@ -7,9 +7,9 @@ service <%= name %>
<%- else -%>
socket_type = dgram
<%- end -%>
- protocol = <%= proto %>
+ protocol = <%= @proto %>
user = nobody
wait = no
- redirect = <%= target_ip %> <%= target_port %>
- port = <%= port %>
+ redirect = <%= @target_ip %> <%= @target_port %>
+ port = <%= @port %>
}