7u83-ipsec/templates/isakmpd_tunnel.erb

17 lines
319 B
Plaintext

#
# Tunnel
# Name: <%= @title %>
#
#
<% @nets.each do |net| -%>
ike esp from <%= net['local'] %> to <%= net['remote'] %> \
local <%= @local_ip %> peer <%= @remote_ip %> \
main auth hmac-md5 enc aes-256 group modp1024 \
quick auth hmac-md5 enc aes-256 group modp1024 \
psk "<%= @psk %>"
<% end %>