Commit Graph

15 Commits

Author SHA1 Message Date
randomshell
812ea87ca9 Merge client's IPv4 and IPv6 questions
The host bit would surely be the same for both IPv4 and IPv6.
2020-08-23 09:37:28 +00:00
randomshell
7d4c11d507 Add headless documentation 2020-08-22 20:25:31 +00:00
Stanislas Lange
f147518050
Ubuntu: remove PPA, use native packages
Fix #108
2020-08-03 17:06:03 +02:00
Stanislas Lange
70b44989e6
Update README 2020-08-03 16:30:00 +02:00
randomshell
5f82b76bc0
Refactor script (#92)
- 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>
2020-07-31 14:59:20 +02:00
Stanislas Lange
5b1ec52ac2 chore(args): rename add_client to add-client 2020-04-28 15:02:30 +02:00
Stanislas Lange
6e60d59ee4 Add add_client feature to README 2020-04-08 14:19:32 +02:00
Stanislas Lange
01bdb56b98 Make README more friendly 2020-03-27 22:21:57 +01:00
Stanislas
b902889ad3
Update README.md 2019-11-08 15:54:55 +09:00
angristan
606d496907 README: Add link to WireGuard's website 2019-08-08 22:57:41 +02:00
angristan
1bfeccf9e7 Update the README to specify what the script can currently do 2019-08-07 20:52:07 +02:00
angristan
df5609db56 Add usage instructions 2019-05-12 17:17:59 +02:00
angristan
203d328a33 Add support for Debian, Fedora, CentOS and Arch 2019-05-12 17:17:59 +02:00
angristan
c2c27d46eb WIP: Read parameters from user, add DNS 2019-05-05 13:05:47 +02:00
angristan
f1b289b6b2 Initial commit 2019-05-05 12:42:53 +02:00