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

15 lines
304 B
Plaintext
Raw Normal View History

2018-02-21 15:31:53 +00:00
<% @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 %>