Added left-/rightikeport ipsec.conf options to use custom IKE ports
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
@@ -137,6 +137,7 @@ struct stroke_end_t {
|
||||
char *groups;
|
||||
char *updown;
|
||||
char *address;
|
||||
u_int16_t ikeport;
|
||||
char *sourceip;
|
||||
int sourceip_mask;
|
||||
char *subnets;
|
||||
|
||||
Reference in New Issue
Block a user