summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/remote_host.erb3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/remote_host.erb b/templates/remote_host.erb
index 4193506..5a22ca9 100644
--- a/templates/remote_host.erb
+++ b/templates/remote_host.erb
@@ -3,6 +3,9 @@ conn <%= name %>
right=<%= right_ip_address %>
rightid=@<%= right_id %>
rightcert=<%= right_cert_name %>.asc
+<% unless right_subnet.empty? -%>
+ rightsubnet=<%= right_subnet.join(',') %>
+<% end -%>
type=transport
auto=start