Added left-/rightikeport ipsec.conf options to use custom IKE ports

This commit is contained in:
Martin Willi
2010-02-26 11:44:33 +01:00
parent cc2eaddee4
commit 667b73721a
11 changed files with 23 additions and 3 deletions
+2
View File
@@ -129,11 +129,13 @@ static int add_connection(char *name,
msg.add_conn.me.id = push_string(&msg, my_id);
msg.add_conn.me.address = push_string(&msg, my_addr);
msg.add_conn.me.ikeport = 500;
msg.add_conn.me.subnets = push_string(&msg, my_nets);
msg.add_conn.me.sendcert = 1;
msg.add_conn.other.id = push_string(&msg, other_id);
msg.add_conn.other.address = push_string(&msg, other_addr);
msg.add_conn.other.ikeport = 500;
msg.add_conn.other.subnets = push_string(&msg, other_nets);
msg.add_conn.other.sendcert = 1;