Commit Graph

8 Commits (4603781af905032f843b54b00da2bf639b2d27fe)

Author SHA1 Message Date
Rafael Ristovski 4603781af9
retrieve current username correctly
`os.getlogin()` does not work in some cases, however `getpass.getuser()` does.
1 year ago
dadevel 1d1c87dd13
configure wg interface in base netns
Resolves #12.
1 year ago
dadevel 0e55f3fcf8
resolve type linting errors 1 year ago
Alex Leigh eff7413c79 make private key optional
Allows private keys to be set in a post-up command and left out of config files.
1 year ago
Jendrik Weise 6486b2fad1 add base_netns functionality
Allows to specify the netns in which the WireGuard interface
is initialized. This allows for multi-hop VPNs.
1 year ago
dadevel 41665ca136
add list and switch commands 2 years ago
Chris Bouchard 56a9e4fbe6
add option to run shell hooks in host netns
Closes #6.
2 years ago
dadevel baa1d01a49
package with poetry 2 years ago