introduce docker and launch script (#4)

* Introduce docker and launch script
* warn if unbound not found
* output only on connect
* show new routes
This commit is contained in:
Aivars Sterns
2018-09-04 15:35:14 +03:00
committed by Andris Raugulis
parent a050e961a8
commit 2c222deccb
4 changed files with 114 additions and 9 deletions
+15 -1
View File
@@ -1,6 +1,6 @@
# pan-globalprotect-okta
Command-line client for PaloAlto Networks' GlobalProtect VPN, integrated with OKTA.
Command-line client for PaloAlto Networks' GlobalProtect VPN, integrated with OKTA.
This utility will do the _authentication dance_ with OKTA to retrieve `portal-userauthcookie`,
which will be passed to [OpenConnect with PAN GlobalProtect support](https://github.com/dlenski/openconnect)
for creating actual VPN connection.
@@ -23,6 +23,20 @@ is also required.
./gp-okta.py gp-okta.conf
```
## docker
Build image
```
docker build -t openconnect .
```
Fill gp-okta.conf with information you want to provide
launch docker with:
```
sh launch.sh
```
it will ask for username/password/second auth if not filled in gp-okta.conf
## configuration
Configuration file should be self-explanatory. Options can be overridden with