8095174d59
Now, tinc nodes automagically organize themself within their network, so you shouldn't have to do anything anymore.
14 lines
324 B
Text
14 lines
324 B
Text
Name = <%= fqdn_tinc %>
|
|
AddressFamily = ipv4
|
|
Device = /dev/net/tun
|
|
#PMTU = 1440
|
|
Mode = switch
|
|
#Mode = router
|
|
|
|
BindToInterface = <%= tinc_interface.to_s %>
|
|
|
|
<% tinc_hosts.to_a.each do |connect_to_host| -%>
|
|
<%- unless connect_to_host.to_s == scope.lookupvar('fqdn') %>
|
|
ConnectTo = <%= connect_to_host %>
|
|
<%- end %>
|
|
<% end -%>
|