-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathconnection.conf.erb
More file actions
63 lines (63 loc) · 1.19 KB
/
connection.conf.erb
File metadata and controls
63 lines (63 loc) · 1.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
conn <%= @name %>
<% if @authby -%>
authby=<%= @authby %>
<% end -%>
<% if @pfs -%>
pfs=<%= @pfs %>
<% end -%>
<% if @rekey -%>
rekey=<%= @rekey %>
<% end -%>
<% if @type -%>
type=<%= @type %>
<% end -%>
<% if @esp -%>
esp=<%= @esp %>
<% end -%>
<% if @ike -%>
ike=<%= @ike %>
<% end -%>
<% if @forceencaps -%>
forceencaps=<%= @forceencaps %>
<% end -%>
<% if @left -%>
left=<%= @left %>
<% end -%>
<% if @leftid -%>
leftid=<%= @leftid %>
<% end -%>
<% if @leftnexthop -%>
leftnexthop=<%= @leftnexthop %>
<% end -%>
<% if @leftprotoport -%>
leftprotoport=<%= @leftprotoport %>
<% end -%>
<% if @leftsubnet -%>
leftsubnet =<%= @leftsubnet %>
<% end -%>
<% if @leftsourceip -%>
leftsourceip=<%= @leftsourceip %>
<% end -%>
<% if @right -%>
right=<%= @right %>
<% end -%>
<% if @rightid -%>
rightid=<%= @rightid %>
<% end -%>
<% if @rightprotoport -%>
rightprotoport=<%= @rightprotoport %>
<% end -%>
<% if @rightsubnetwithin -%>
rightsubnetwithin=<%= @rightsubnetwithin %>
<% end -%>
<% if @rightsubnet -%>
rightsubnet=<%= @rightsubnet %>
<% end -%>
<% if @auto -%>
auto=<%= @auto %>
<% end -%>
<% if @opts -%>
<% @opts.each do |k,v| -%>
<%= k %>=<%= v %>
<% end -%>
<% end -%>