7u83-ipsec/templates/strongswan/ipsec.conf.tunnel.erb

15 lines
304 B
Plaintext

<% @nets.each do |net| -%>
conn <%= @title %>
left=<%= @local_ip %>
leftsubnet=<%= net['local'] %>
right=<%= @remote_ip %>
rightsubnet=<%= net['remote'] %>
ike=aes256-md5-modp1024
esp=aes256-md5-modp1024!
auto=start
authby=secret
keyexchange=ikev1
<% end %>