File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,6 +19,28 @@ A shell script for connecting to Pritunl VPN using credentials stored in 1Passwo
1919./pritunl_login.sh stark-industries ' op://Employee/x9zm2kddpq4nvbwrfhgtsjloey/password'
2020```
2121
22+ ### Example Output
23+
24+ ```
25+ % pritunl_login.sh stark-industries 'op://Employee/x9zm2kddpq4nvbwrfhgtsjloey/password'
26+ Connecting to Pritunl VPN...
27+ Account: stark-industries
28+ Password reference: op://Employee/x9zm2kddpq4nvbwrfhgtsjloey/password
29+
30+ Getting Pritunl profile ID...
31+ Using profile ID: a1b2c3d4e5f6g7h8
32+ Retrieving credentials from 1Password...
33+ Starting VPN connection...
34+ ✓ VPN connection started successfully
35+
36+ Current VPN status:
37+ +------------------+----------------+--------+-----------+----------------+----------------+----------------+
38+ | ID | NAME | STATE | AUTOSTART | ONLINE FOR | SERVER ADDRESS | CLIENT ADDRESS |
39+ +------------------+----------------+--------+-----------+----------------+----------------+----------------+
40+ | a1b2c3d4e5f6g7h8 | Stark Industries | Active | Enabled | 1 hour 52 mins | 203.0.113.42 | 10.0.0.15 |
41+ +------------------+----------------+--------+-----------+----------------+----------------+----------------+
42+ ```
43+
2244## Prerequisites
2345
2446- Pritunl client installed at ` /Applications/Pritunl.app/Contents/Resources/pritunl-client `
You can’t perform that action at this time.
0 commit comments