diff options
author | Filip Tehlar <ftehlar@cisco.com> | 2020-04-02 13:13:39 +0000 |
---|---|---|
committer | Neale Ranns <nranns@cisco.com> | 2020-05-15 11:41:14 +0000 |
commit | 4362baa33c00b93d07f6648c87c064c96900f4df (patch) | |
tree | f7ffb67f3b6a98348ae4f88ae8d06f8d0ecbeffd /src/plugins/ikev2/ikev2_cli.c | |
parent | 17b5c3d6ab83a597e7c79613041f2fd7470825bd (diff) |
ikev2: add support for NAT traversal
Type: feature
* initiator behind NAT supported
* tested with static NAT mappings
* works only with pre-configured tunnels
The pre-configured tunnel has to be defined as follows:
initiator (i) side: src=ip(i) dst=ip(r)
responder (r) side: src=ip(r) dst=ip(nat)
Change-Id: Ia9f79ddbbcc3f7dc8fde6bbeca2a433e3b784e94
Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Diffstat (limited to 'src/plugins/ikev2/ikev2_cli.c')
-rw-r--r-- | src/plugins/ikev2/ikev2_cli.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/ikev2/ikev2_cli.c b/src/plugins/ikev2/ikev2_cli.c index b88d257554c..2a5ebb3b6a2 100644 --- a/src/plugins/ikev2/ikev2_cli.c +++ b/src/plugins/ikev2/ikev2_cli.c @@ -512,8 +512,8 @@ show_ikev2_profile_command_fn (vlib_main_t * vm, if (p->udp_encap) vlib_cli_output(vm, " udp-encap"); - if (p->dst_port != IPSEC_UDP_PORT_NONE) - vlib_cli_output(vm, " ipsec-over-udp port %d", p->dst_port); + if (p->ipsec_over_udp_port != IPSEC_UDP_PORT_NONE) + vlib_cli_output(vm, " ipsec-over-udp port %d", p->ipsec_over_udp_port); })); /* *INDENT-ON* */ |