27 Commits

Author SHA1 Message Date
18bda9f1c6 Use dnsmasq and configure dns server config for clients
This will add a DNS config to the client configurations pointing to the
wireguard server. With this configuration, all DNS requests are sent
through the VPN and are no longer answered by the local DNS server.

Each client now has a hostname like <device>-client<id>.
2023-01-21 01:41:41 +01:00
9bacc0cc4c Add ipv6 unique local addresses 2023-01-20 21:57:40 +01:00
1e5d1088c3 Show public keys running configuration list command 2022-12-31 21:32:37 +01:00
2fe5f14383 Print which client uses already given public key 2022-12-25 20:37:17 +01:00
d47e1a1a23 Check if optional public key is already used 2022-12-25 20:13:09 +01:00
41d0aed0e6 Add information about creating client with given public key 2022-12-25 20:03:08 +01:00
1bb1be36f8 Change add command to use public key as optional param 2022-12-17 09:44:40 +01:00
133c466c26 Remove generation of PNG QR codes on add as done for init 2022-12-16 20:07:49 +01:00
0aa12e997f Remove generation of PNG QR codes on init 2022-12-15 20:36:52 +01:00
8ec3461314 Add information about '--no-forward' option 2022-12-15 20:34:49 +01:00
ee1717937c End up with exit code 1 if running init with existing configs 2022-12-11 16:30:54 +01:00
214f830065 Check if client config exists 2022-12-11 16:28:14 +01:00
9afa126178 Remove comments from QR code 2022-12-11 16:24:03 +01:00
1d945f7ffb Add MTU config setting 2022-12-10 10:34:08 +01:00
0957eda443 Remove interactive configuration 2022-12-10 10:27:59 +01:00
f85d6dc215 Add option to disable traffic forwarding 2022-12-06 20:54:46 +01:00
c88d16ca3d Add some messages 2022-12-03 11:00:50 +01:00
358b18b49d Fix maximal client config files to be created 2022-12-02 17:07:34 +01:00
3659803336 Fix wrong command mapping 2022-12-02 17:01:18 +01:00
f4d26084a2 Change configuration creation by adding init command 2022-12-02 16:49:52 +01:00
61dbd439a7 Add purge command to remove all config files 2022-12-02 16:36:24 +01:00
f45cc7985d Add help command, use short commands but keep longer commands 2022-12-02 16:30:22 +01:00
cac4c23574 Add command to list server and all clients by creation date 2022-12-01 20:43:27 +01:00
c24718fab3 Add command to show client config and qr code 2022-11-30 23:08:08 +01:00
074ecc8857 Add script to remove client 2022-11-29 07:24:44 +01:00
fbbb26f4cb Limit clients and add date to configs 2022-11-29 07:24:22 +01:00
e9e9839e64 Move scripts into dedicated directory 2022-11-29 07:22:58 +01:00