Commit 8c35a9a8 authored by Nathan Dorfman's avatar Nathan Dorfman

ipsec: must specify L2TP port selectors for handshake to work

parent e6a04f62
...@@ -1161,7 +1161,9 @@ nm_l2tp_config_write (NML2tpPlugin *plugin, ...@@ -1161,7 +1161,9 @@ nm_l2tp_config_write (NML2tpPlugin *plugin,
" pfs=no\n" " pfs=no\n"
" authby=secret\n" " authby=secret\n"
" keyingtries=0\n" " keyingtries=0\n"
" left=%%defaultroute\n"); " left=%%defaultroute\n"
" leftprotoport=udp/l2tp\n"
" rightprotoport=udp/l2tp\n");
value = nm_setting_vpn_get_data_item (s_vpn, NM_L2TP_KEY_IPSEC_GROUP_NAME); value = nm_setting_vpn_get_data_item (s_vpn, NM_L2TP_KEY_IPSEC_GROUP_NAME);
if(value)write_config_option (ipsec_fd, " leftid=@%s\n", value); if(value)write_config_option (ipsec_fd, " leftid=@%s\n", value);
/* value = nm_setting_vpn_get_data_item (s_vpn, NM_L2TP_KEY_GATEWAY); */ /* value = nm_setting_vpn_get_data_item (s_vpn, NM_L2TP_KEY_GATEWAY); */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment