summaryrefslogtreecommitdiff
path: root/templates/remote_host.erb
blob: a05378c23099f4223a35d9d5a247bb297262fccb (plain)
1
2
3
4
5
6
7
8
9
10
11
# host <%= name %>
conn <%= name %>
        right=<%= right_ip_address %>
        rightid=@<%= right_id %>
        rightcert=<%= right_cert_name %>.asc
<% unless right_subnet.empty? -%>
        rightsubnet=<%= right_subnet.collect{|s| s.include?('/') ? s : (s.include?(':') ? "#{s}/128" : "#{s}/32" ) }.join(',') %>
<% end -%>
        type=transport
        auto=start