-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add nix flake for running this program; security& logging update.
* Added flake definition so this program can be run easily via nix. * Added `user` and `group` setting to YAML configuration, allowing openvpn to run unprivileged (after initialization). * Nix flake app runs as `nobody:nobody`. * Added a "logLevel" flag to program and set default to "Info" so SAML response (credentials) aren't logged by default. * Updated README with instructions. Tested on MacOS x86; needs testing on M1 & Linux.
- Loading branch information
Showing
8 changed files
with
422 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,8 @@ | ||
aws-vpn-client | ||
openvpn | ||
*.yml | ||
*.openvpn | ||
*.openvpn | ||
.devenv | ||
.direnv | ||
.envrc | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,5 +5,7 @@ vpn: | |
sudo: /usr/bin/sudo | ||
shellargs: | ||
- "-c" | ||
user: nobody | ||
group: nobody | ||
server: | ||
addr: "127.0.0.1:35001" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,6 +13,8 @@ type ( | |
Sudo string | ||
Shell string | ||
ShellArgs []string | ||
User string | ||
Group string | ||
} | ||
|
||
server struct { | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.