diff options
author | Kim Hagen <kim.hagen@external.t-mobile.nl> | 2017-06-15 13:28:11 +0200 |
---|---|---|
committer | Kim Hagen <kim.hagen@external.t-mobile.nl> | 2017-06-15 13:28:11 +0200 |
commit | e8a468e90f6dfe0b6045baf1bf8582e690b98bb8 (patch) | |
tree | 49cd4742f2df24226556df4481e4c59af3504125 | |
parent | 49f13ac6ba62dbe496e03b46d81f7aee7cbfcd98 (diff) | |
download | vyos-opennhrp-helium.tar.gz vyos-opennhrp-helium.zip |
change the whack command to use NHRP_DESTNBMA for client/right subnethelium
-rwxr-xr-x | etc/opennhrp-script | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/opennhrp-script b/etc/opennhrp-script index ab27a30..0af3e42 100755 --- a/etc/opennhrp-script +++ b/etc/opennhrp-script @@ -47,7 +47,7 @@ peer-up) fi if grep "${NHRP_SRCADDR}" "${_nhrp_ipsec}"; then ipsec whack --delete --name $_connection > /dev/null 2>&1 - ipsec whack --name $_connection --host $NHRP_SRCNBMA --clientprotoport gre --to --host $NHRP_DESTNBMA --client $NHRP_SRCNBMA/32 --clientprotoport gre --psk $_pfs --encrypt $_ipsec_args || exit 1 + ipsec whack --name $_connection --host $NHRP_SRCNBMA --clientprotoport gre --to --host $NHRP_DESTNBMA --client $NHRP_DESTNBMA/32 --clientprotoport gre --psk $_pfs --encrypt $_ipsec_args || exit 1 ipsec up $_connection || exit 1 fi fi |