Added Yubikey support
This commit is contained in:
@@ -31,4 +31,14 @@ Rename routes.txt.sample to routes.txt or create an empty routes.txt and add sub
|
||||
sudo -E ./run-vpn.sh
|
||||
```
|
||||
|
||||
In case of disconnect, it will try reconnecting after 3 seconds. You can stop it by pressing `CTRL+C` or killing the script.
|
||||
In case of disconnect, it will try reconnecting after 3 seconds. You can stop it by pressing `CTRL+C` or killing the script.
|
||||
|
||||
### Yubikey
|
||||
|
||||
Yubikey can be used for safe storage of TOTP seed. Configure TOTP in Yubikey Authenticator app or `ykman oath` if using command line. Then use `ykman oath list` to get the name of the entry and set that name in `OC_YUBIKEY` environment variable.
|
||||
|
||||
For example:
|
||||
|
||||
```
|
||||
OC_YUBIKEY=VPN:organization sudo -E ./run-vpn.sh
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user