diff options
author | Benoît Ganne <bganne@cisco.com> | 2020-11-06 10:55:22 +0100 |
---|---|---|
committer | Andrew Yourtchenko <ayourtch@gmail.com> | 2020-11-12 12:32:58 +0000 |
commit | 52bbd86836bbce0bf413aea46d05535f27ad614d (patch) | |
tree | 2d9a7f37054bd952f09d04dd5708aa200f7c599c | |
parent | 019ce71c2d525758a46f4ea88e6722d61e7db1fe (diff) |
ipsec: fix outer table id lookup in ipsec tun script
Type: fix
Change-Id: I195949b610dca1b860baca18a059d39949627961
Signed-off-by: Benoît Ganne <bganne@cisco.com>
(cherry picked from commit 27632cae3dbed6afbaaf12d8da7798d7ecaa2ddb)
-rw-r--r-- | src/scripts/vnet/ipsec_tun_protect | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scripts/vnet/ipsec_tun_protect b/src/scripts/vnet/ipsec_tun_protect index b30281fcf92..6dc4dd7b780 100644 --- a/src/scripts/vnet/ipsec_tun_protect +++ b/src/scripts/vnet/ipsec_tun_protect @@ -22,7 +22,7 @@ ipsec sa add 20 spi 200 crypto-key 6541686776336961656264656f6f6579 crypto-alg a ipsec sa add 30 spi 300 crypto-key 6541686776336961656264656f6f6579 crypto-alg aes-cbc-128 create ipip tunnel src 10.0.0.1 dst 10.0.0.2 -create ipip tunnel src 10.0.0.2 dst 10.0.0.1 +create ipip tunnel src 10.0.0.2 dst 10.0.0.1 outer-table-id 1 ipsec tunnel protect ipip0 sa-in 20 sa-out 30 ipsec tunnel protect ipip1 sa-in 30 sa-out 20 |