| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
|
|
| |
Fix #189
|
| |
|
|
|
|
| |
- Since September 2020, AdGuard public DNS servers have moved to new
address. See here - https://adguard.com/en/blog/adguard-dns-new-addresses.html
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
Bumps [ludeeus/action-shellcheck](https://github.com/ludeeus/action-shellcheck) from 0.5.0 to 1.0.0.
- [Release notes](https://github.com/ludeeus/action-shellcheck/releases)
- [Commits](https://github.com/ludeeus/action-shellcheck/compare/0.5.0...d586102c117f97e63d7e3b56629d269efc9a7c60)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
|
| |
|
| |
|
|
|
|
|
| |
If the FORWARD chain policy defaults to DENY, it must explicitly allow traffic from the external to the wg interface.
To solve this, the patch just adds
iptables -A FORWARD -i ${SERVER_PUB_NIC} -o ${SERVER_WG_NIC} -j ACCEPT;
|
|
|
|
|
|
| |
From https://www.wireguard.com/install/. Using kmod instead of dkms. Seems to work without reboot now.
Close #118 #111 #147
|
| |
|
| |
|
|
|
| |
Hetzner also has their own Datacenter in Helsinki, Finland. Mentioning this for completeness.
|
| |
|
|\
| |
| | |
Updated client name input restrictions and hint
|
|/ |
|
|\
| |
| | |
Fix reboot message
|
|/ |
|
|
|
|
| |
An oversight from https://github.com/angristan/wireguard-install/pull/109
|
| |
|
|\
| |
| | |
Ubuntu: remove PPA, use native packages
|
|/
|
|
| |
Fix #108
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Added `clientRevoke()` based on openvpn-install repo, fixes #4
Some other changes were required for this to work:
- client names aren't random anymore
- client names are saved above the `[Peer]` block of the server configuration file to keep track of them
- checks added for existing IPv4, IPv6 and client name. I used `until` to ask the user again if this is the case to not make him loose its work if, for example, the client name and IPv4 inserted are unique but not the IPv6.
- using `until` instead of `exit` isn't idempotent but it's more user friendly. This will be a future goal.
- default options should be safe to use so the suggestion for the client IP is automatically incremented. The subnet of `SERVER_WG_IPV` is hard-coded inside `CLIENT_WG_IPV` for obvious reasons
|
|
|
|
|
|
| |
Fix #2
Co-authored-by: Stanislas Lange <stanislas.lange@pm.me>
Co-authored-by: randomshell <randshell@protonmail.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- cleaned some minor code
- use IPv6 if IPv4 isn't available
- add input validations, fixes #86 .
- assign secondary DNS to primary DNS value if it's empty. Fixes #68
- use `$SERVER_WG_IPV4` and `$SERVER_WG_IPV6` when suggesting the client IP
- save user DNS to `params` file and apply it to all clients, removing support for customizing DNS for individual clients. If this is a problem we can add again the code to allow customization but maybe use the sourced DNS as a suggestion for clients that need a different one
- add shellcheck ignores, needed for IDE that have shellcheck support
- escaped variables to `"${var}"` style
- updated README to reflect changes
- fixed the kernel mismatch issue on CentOS by updating the kernel https://github.com/angristan/wireguard-install/issues/95#issuecomment-653696198. Fedora might need this change too
- Use `firewall-cmd` only if `firewalld` is running. Fixes #95
- Fix the client's subnet mask. Fixes #87
- Save the client configuration in the correct `$HOME`. Fixes #96
Co-authored-by: Chris Lewicki <chris@lewicki.dev>
Co-authored-by: Stanislas <angristan@pm.me>
|
|\
| |
| | |
Fix Debian installation: use backports
|
| |
| |
| |
| | |
And limit to Debian 10. Fix #101
|
|\ \
| | |
| | |
| | |
| | | |
angristan/dependabot/github_actions/ludeeus/action-shellcheck-0.5.0
Bump ludeeus/action-shellcheck from 0.4.1 to 0.5.0
|
|/ /
| |
| |
| |
| |
| |
| | |
Bumps [ludeeus/action-shellcheck](https://github.com/ludeeus/action-shellcheck) from 0.4.1 to 0.5.0.
- [Release notes](https://github.com/ludeeus/action-shellcheck/releases)
- [Commits](https://github.com/ludeeus/action-shellcheck/compare/0.4.1...c489c81f79527f818be72b97b918b06e75eaee6d)
Signed-off-by: dependabot[bot] <support@github.com>
|
|\ \
| |/
|/| |
Add colon
|
|/ |
|
|\
| |
| | |
Add Dependabot
|
| | |
|
|\ \
| |/
|/| |
Update GitHub Actions
|
|/ |
|
|\
| |
| | |
Change check for previously installed wireguard
|
|/ |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
bc is missing as dependency: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=956869
fix #70
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
This commit puts the client creation logic into a function.
By running the script followed by `add_client`, the user will be asked a
few questions and a new peer will be added.
Removing client is **not** supported.
The client files have random names.
Fix for https://github.com/angristan/wireguard-install/issues/3
|
|
|
|
| |
Signed-off-by: Stanislas Lange <angristan@pm.me>
|