From b0ad030604e4660b4d92d9b5410ee583a628e6e6 Mon Sep 17 00:00:00 2001 From: Oliver Surke Date: Fri, 11 Nov 2022 13:53:34 +0100 Subject: [PATCH] =?UTF-8?q?=E2=80=9EREADME.md=E2=80=9C=20=C3=A4ndern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 33 ++++++++++----------------------- 1 file changed, 10 insertions(+), 23 deletions(-) diff --git a/README.md b/README.md index f3a8807..7616df2 100644 --- a/README.md +++ b/README.md @@ -3,31 +3,18 @@ Using openconnect with gp-okta and vpn-slice ## Installation -Annahme: die 4 erhaltenen Dateien liegen im Downloads-Ordner -### Commands -``` -cd -mkdir bin -mkdir .openconnect -cp Downloads/AdobeCorp.hosts .openconnect/ -cp Downloads/anleitung .openconnect/ -cp Downloads/vpn bin/ -cp Downloads/gp-okta bin/ -cp Downloads/.gp-okta.conf ./ -brew install openconnect -brew install vpn-slice -pip3 install requests -pip3 install --no-binary :all: lxml -sudo echo '%admin ALL=(ALL) NOPASSWD: /opt/homebrew/bin/openconnect' > /private/etc/sudoers.d/openconnect.conf -``` +```bash +chmod a+x install.sh && ./install.sh +```` + ## Anpasung: -in .gp-okta.conf den richtigen User-Namen einsetzen (Zeile 11) +in [.gp-okta.conf](.gp-okta.conf) den richtigen User-Namen einsetzen (Zeile 12) ## Benutzung: -``` - vpn start - vpn stop - vpn status - vpn restart +```bash +vpn start +vpn stop +vpn status +vpn restart ``` ### Nach vielen Starts/Stops kann die Routing-Konfiguration in einen verärgerten Status kommen. Dann hilft ein Reboot.