From 27491816c4cc8e0cb6c841ab883204dfaad44cfc Mon Sep 17 00:00:00 2001 From: Sun Knudsen Date: Fri, 7 Aug 2020 18:31:36 -0400 Subject: [PATCH] Fixed restart strongswan bug in strongSwan guide --- .../README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/how-to-self-host-a-hardened-strongswan-ikev2-ipsec-vpn-server-for-ios-and-macos/README.md b/how-to-self-host-a-hardened-strongswan-ikev2-ipsec-vpn-server-for-ios-and-macos/README.md index 5459609..2845fdc 100644 --- a/how-to-self-host-a-hardened-strongswan-ikev2-ipsec-vpn-server-for-ios-and-macos/README.md +++ b/how-to-self-host-a-hardened-strongswan-ikev2-ipsec-vpn-server-for-ios-and-macos/README.md @@ -317,7 +317,6 @@ If server is configured to use `/etc/network/interfaces`, run: ```shell cp /etc/network/interfaces /etc/network/interfaces.backup cat << "EOF" >> /etc/network/interfaces - auto strongswan0 iface strongswan0 inet static address 10.0.2.1/24 @@ -423,7 +422,6 @@ If the server is dual stack (IPv4 + IPv6) run: cat << "EOF" > /etc/ipsec.conf config setup charondebug="ike 1, knl 1, cfg 1" - uniqueids=never conn ikev2 auto=add @@ -675,9 +673,10 @@ On server: run `vi /etc/ipsec.d/certs/vpn-server.crt`, press i, paste On server: run `chmod -R 600 /etc/ipsec.d/private` -#### Step 28: start strongSwan +#### Step 28: restart strongSwan ```shell +systemctl daemon-reload systemctl restart strongswan ```