module-tinc/templates/tinc.conf.erb

15 lines
324 B
Text
Raw Normal View History

2010-10-23 01:48:21 +02:00
Name = <%= fqdn_tinc %>
2010-08-31 17:54:24 +02:00
AddressFamily = ipv4
Device = /dev/net/tun
#PMTU = 1440
Mode = switch
#Mode = router
2010-10-22 23:15:28 +02:00
BindToInterface = <%= tinc_interface.to_s %>
<% tinc_hosts.to_a.each do |connect_to_host| -%>
<%- unless connect_to_host.to_s == scope.lookupvar('fqdn') %>
2010-10-23 01:48:21 +02:00
ConnectTo = <%= connect_to_host %>
<%- end %>
2010-08-31 17:54:24 +02:00
<% end -%>