Commit Graph

31 Commits (dev)
 

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
Marek Küthe 4ae769da00
systemd: harden service
Resolved #13.
1 year ago
Marek Küthe b44da5e7b8
systemd: specify config directory mode
Fixes #14.
1 year ago
dadevel 1d1c87dd13
configure wg interface in base netns
Resolves #12.
1 year ago
dadevel 49f7138323
bump dependencies 1 year ago
dadevel 0e55f3fcf8
resolve type linting errors 1 year ago
dadevel 2bbc743d9b
release v2.2.2 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
dadevel 79c3c81397
release v2.2.1 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
dadevel 2542d9f4cd
readme: add example to start firefox in netns
Thanks to @dontdieych. Closes #7.
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
dadevel cd0248f36a
add extras 2 years ago
dadevel da6e84552b
make interface.public_key and peer.name optional
Thanks to @phromo for the hint.
2 years ago
dadevel 59a67b445c
rewrite with dataclasses
Adds 'managed' option and yaml support, renames env vars and can load profiles by name.
Closes #4.
2 years ago
dadevel 42f67672f0
readme: use more descriptive variable names in port forwarding example 3 years ago
dadevel 53c026ba9d
fix error when dns-server option is not provided
Fixes #2
3 years ago
dadevel 0846b786bf
add option to overwrite automatic routes from allowed-ips 3 years ago
dadevel c4c272b2eb
add setup script 3 years ago
dadevel c383e75597
handle missing allowed-ips key with grace 4 years ago
dadevel 33ccc0aee7
fix undefined SHELL variable 4 years ago
dadevel b19054c788
enable detailed logging in systemd service 4 years ago
dadevel 812e027bc0 rewrite for v1
Allow multiple interfaces per namespace.
Change configuration format to json.
4 years ago
dadevel e225ad0bfe
readme: document netns port forwarding with socat 4 years ago
dadevel 28fcee3191
setup loopback interface and split up functions 4 years ago
dadevel f09e4e3a89
fix key length error when preshared-key isnt specified 4 years ago
dadevel 19230eab45
add python3.7 compatibility 4 years ago
dadevel 0515fafaf8
provide optional systemd service 4 years ago
dadevel f97b258b26
initial commit 4 years ago