1
0
mirror of synced 2024-11-25 14:26:09 +03:00

Update IKEv2 script

- Add a note about changing IKEv2 server address.
This commit is contained in:
hwdsl2 2022-08-11 00:02:42 -05:00
parent 4995ec03f5
commit 6a872207f4

View File

@ -214,6 +214,7 @@ check_arguments() {
if [ "$use_defaults" = "1" ] && check_ikev2_exists; then if [ "$use_defaults" = "1" ] && check_ikev2_exists; then
echo "Error: Invalid parameter '--auto'. IKEv2 is already set up on this server." >&2 echo "Error: Invalid parameter '--auto'. IKEv2 is already set up on this server." >&2
echo " To manage VPN clients, re-run this script without '--auto'." >&2 echo " To manage VPN clients, re-run this script without '--auto'." >&2
echo " To change IKEv2 server address, see https://vpnsetup.net/ikev2" >&2
exit 1 exit 1
fi fi
if [ "$((add_client + export_client + list_clients + revoke_client + delete_client))" -gt 1 ]; then if [ "$((add_client + export_client + list_clients + revoke_client + delete_client))" -gt 1 ]; then