„README.md“ ändern

This commit is contained in:
2022-11-11 13:53:34 +01:00
parent 0e31157675
commit b0ad030604
+10 -23
View File
@@ -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.