Commit graph

  • 66b1be42e4
    Merge pull request #98 from robiiinos/misc/actions Stanislas 2020-07-24 11:40:53 +02:00
  • 13df507393 Update GitHub Actions robiiinos 2020-07-18 21:31:03 +02:00
  • 1ffbf87dc6 Add Dependabot robiiinos 2020-07-18 21:32:09 +02:00
  • ab67b21cbc Save the client configuration in the correct $HOME randomshell 2020-07-09 18:33:57 +00:00
  • 0d65a00844 Fix client subnet mask randomshell 2020-07-04 22:30:05 +00:00
  • fc8039a3cf Use firewall-cmd only if firewalld is running randomshell 2020-07-04 22:23:16 +00:00
  • e7d4bee59f Fix installation on CentOS randomshell 2020-07-04 22:10:10 +00:00
  • e4183e2960 Remove repos from Debian and CentOS in uninstallation steps Removed wireguard-arch as its not being installed in Arch Linux. Navratan Gupta 2020-07-04 20:06:51 +05:30
  • 9cab30284e Block subnet when asking client's internal IP randomshell 2020-07-02 23:04:21 +00:00
  • b5509d5192 Add revokeClient() randomshell 2020-07-02 17:26:15 +00:00
  • a5faeb1968 Auto increment the suggested client IP randomshell 2020-07-02 16:46:05 +00:00
  • 476f883b7c Add validation for WireGuard server IP randomshell 2020-07-02 16:33:18 +00:00
  • 6e27ee81df Don't exit if the client name already exists randomshell 2020-07-02 16:30:22 +00:00
  • dbdce6f98c Add check for existing IPv4 and IPv6 randomshell 2020-07-02 16:20:59 +00:00
  • 42d2d1908c Save user DNS for all clients randomshell 2020-07-02 20:23:40 +00:00
  • 541019587c Better variables escaping randomshell 2020-07-02 19:44:44 +00:00
  • f80eca7de9 Use $SERVER_WG_IPV4 and $SERVER_WG_IPV6 when suggesting the client IP randomshell 2020-07-02 15:59:03 +00:00
  • 94de617fe6 Add check for existing clients randomshell 2020-07-02 15:51:20 +00:00
  • 52f922fc86 Save client name in server configuration randomshell 2020-07-02 15:38:52 +00:00
  • 7426347bcd Ask user for client name randomshell 2020-07-02 15:36:35 +00:00
  • ca2178cff2 Clean $ENDPOINT code randomshell 2020-07-02 15:08:10 +00:00
  • b0b3889a45 Removed /dev/null from rm -rf Navratan Gupta 2020-07-02 20:10:24 +05:30
  • e3af0a9c54 Save user DNS for all clients randomshell 2020-07-02 13:15:10 +00:00
  • 3d343c3fd7 Update README randomshell 2020-07-02 12:37:18 +00:00
  • 6a40208a80 Add confirmation text before install randomshell 2020-07-02 12:31:15 +00:00
  • fb240ebdf7 Add installQuestions() randomshell 2020-07-02 12:28:15 +00:00
  • 942e215f76 Add some newlines for readability randomshell 2020-07-02 12:17:44 +00:00
  • 8696a05131 Ignore shellcheck infos randomshell 2020-07-02 11:34:04 +00:00
  • 26e989cd2c Add initial script description randomshell 2020-07-02 10:58:29 +00:00
  • 45f533cbdd Add validation for $SERVER_PUB_NIC randomshell 2020-07-02 10:56:37 +00:00
  • 23e31150f9 Add validation for $SERVER_WG_NIC randomshell 2020-07-02 10:52:39 +00:00
  • 93c49879ea Add check for WireGuard server IP randomshell 2020-07-02 10:45:53 +00:00
  • 1b5288996f Add validation on $SERVER_PORT randomshell 2020-07-02 10:43:15 +00:00
  • aa583ce4b2 Remove unnecessary echo randomshell 2020-07-02 10:36:05 +00:00
  • 36d209397e Use $SERVER_WG_IPV4 and $SERVER_WG_IPV6 when suggesting the client IP randomshell 2020-07-02 10:35:20 +00:00
  • 97ec76dffb Basic regex check for client IP randomshell 2020-07-02 10:31:30 +00:00
  • 9c6576dfc9 Add validation on DNS input randomshell 2020-07-02 10:10:53 +00:00
  • 1c77cb7073 Change public IP detection randomshell 2020-07-02 09:18:43 +00:00
  • 1ed1b5a1b7 Removed ip link set down and check for wg.conf file existence Navratan Gupta 2020-07-02 14:14:33 +05:30
  • 40068e02f8 Add installation text randomshell 2020-07-01 19:19:10 +00:00
  • 2acb9d8184 Chnage addClient() to newClient() randomshell 2020-07-01 19:09:38 +00:00
  • d765194eac add manageMenu() randomshell 2020-07-01 19:07:23 +00:00
  • 4244b2b70a Remove useless /etc/wireguard/params source randomshell 2020-07-01 18:56:29 +00:00
  • ec9dd5d5df Add installWireGuard() randomshell 2020-07-01 18:53:58 +00:00
  • 600703c222 Add initialCheck() randomshell 2020-07-01 18:33:00 +00:00
  • 09f0611023 Add checkOS() randomshell 2020-07-01 18:30:50 +00:00
  • cdfdf4d7a4 Add checkVirt() randomshell 2020-07-01 18:28:35 +00:00
  • 97551d65c1 Add isRoot() randomshell 2020-07-01 18:25:55 +00:00
  • ca52025b95 Use $SERVER_WG_IPV4 when suggesting the client IP randomshell 2020-07-01 17:58:34 +00:00
  • 7c719b2bc2 Add check for WireGuard server IP randomshell 2020-07-01 17:52:55 +00:00
  • 8c0dd0f1a6 Auto increment the suggested client IP randomshell 2020-07-01 17:28:09 +00:00
  • dc8846f0f1 Fix client subnet mask randomshell 2020-07-01 11:27:13 +00:00
  • c024742b5d Check wireguard status with /etc/wireguard/params Navratan Gupta 2020-07-01 13:42:04 +05:30
  • b323ff0b5a Fix for #2: Uninstallation steps Navratan Gupta 2020-06-30 18:41:29 +05:30
  • 91eff7c7a1 Merge branch 'uninstall' Navratan Gupta 2020-06-30 18:21:07 +05:30
  • bd0a0c6255 Consistent comment style Navratan Gupta 2020-06-30 17:41:30 +05:30
  • a3d3b85185 Added uninstallation step Navratan Gupta 2020-06-30 17:12:16 +05:30
  • aed4ad0210 Added checkOS function Navratan Gupta 2020-06-30 16:44:10 +05:30
  • 59570c786b
    Merge pull request #85 from randomshell/patch-1 Stanislas 2020-06-27 16:45:15 +02:00
  • e04fa5356d
    Change check for previously installed wireguard randomshell 2020-06-26 18:38:29 +00:00
  • 7c6da8df0e
    Arch: do not install wireguard-arch (#84) Deface 2020-06-14 16:24:12 +02:00
  • cd68d6a0b6
    Update wireguard-install.sh Deface 2020-06-14 02:16:57 +02:00
  • 572cc0dc89 Added uninstallation steps Navratan Gupta 2020-06-06 15:49:09 +05:30
  • 39a4962ee0 swap single quotes for doubles since they won't expand(???) Chris Lewicki 2020-05-21 20:44:31 -04:00
  • c34f7fb35e fix for if-statement in the middle of echo Chris Lewicki 2020-05-21 20:41:16 -04:00
  • 613cc12223
    Update wireguard-install.sh Chris Lewicki 2020-05-05 20:02:42 -04:00
  • 04e678dd8a
    Merge pull request #1 from chrislewicki/trailing-comma-fix Chris Lewicki 2020-05-05 19:56:21 -04:00
  • 23b9ad0459
    add check for secondary DNS Chris Lewicki 2020-05-05 19:55:53 -04:00
  • 2e492d263a ci(workflow): refactor and add shmft Stanislas Lange 2020-04-28 15:04:16 +02:00
  • efa9e5031a style(script) format with shfmt Stanislas Lange 2020-04-28 15:03:21 +02:00
  • 5b1ec52ac2 chore(args): rename add_client to add-client Stanislas Lange 2020-04-28 15:02:30 +02:00
  • 89258ba91d Mitigate Debian packaging issue Stanislas Lange 2020-04-26 12:54:03 +02:00
  • 071466eccd
    Generate unique pre-shared key for each client (#69) Jelle Dekker 2020-04-22 21:50:49 +02:00
  • 92a2f8521a Generate a unique pre-shared key for each client as per WireGuard protocol to improve post-quantum resistance. jellemdekker 2020-04-21 11:01:43 +02:00
  • 5fe0882740
    Merge pull request #1 from kmartin26/patch-3 liberodark 2020-04-14 18:15:00 +02:00
  • ceec2ffb66
    fix apt-get remove for debian uninstall Kévin Martin 2020-04-09 16:34:50 +02:00
  • 6e60d59ee4 Add add_client feature to README Stanislas Lange 2020-04-08 14:19:32 +02:00
  • f0891e7235
    Add support for adding multiple clients (#58) Stanislas 2020-04-08 14:09:22 +02:00
  • e761f37d07 Merge master into branch multiple-client Stanislas Lange 2020-04-08 14:05:11 +02:00
  • 7c2e299a02
    Add missing colons to setup questions Stanislas Lange 2020-04-03 18:33:36 +02:00
  • 3b342e531c
    Prompt with random port during setup (#64) randomshell 2020-04-03 16:16:59 +00:00
  • 2ede16075e
    Use a random port for Wireguard server randomshell 2020-04-02 16:23:05 +00:00
  • ad43249fb5
    Run systemctl enable before systemctl start randomshell 2020-03-29 04:22:09 +00:00
  • 7a360c668e
    Change Wireguard port from OpenVPN default randomshell 2020-03-29 03:39:12 +00:00
  • 01bdb56b98 Make README more friendly Stanislas Lange 2020-03-27 22:21:57 +01:00
  • 59ea6cdb18
    Improved formating of config files. Florian Trabauer 2020-03-27 07:29:55 +01:00
  • cc49218680
    Added a script to create additional clients Florian Trabauer 2020-03-27 07:20:46 +01:00
  • cb04b455fb
    reboot == evil Sakalou Aliaksei 2020-03-25 15:06:11 +03:00
  • 8130dc7b70 Fix shellcheck Stanislas Lange 2020-03-21 21:53:06 +01:00
  • a810f727dd
    Use native WireGuard in Fedora >= 32 + support firewalld (#55) Andrew Prokhorenkov 2020-03-21 15:47:23 -05:00
  • 0bd4fb3039 Add support for adding multiple clients Stanislas Lange 2020-03-21 21:20:50 +01:00
  • e427205da2
    fix: check if firewall-cmd exists Andrew Prokhorenkov 2020-03-21 13:59:46 -05:00
  • f3fd5346c0 Fix shellcheck Stanislas Lange 2020-03-21 15:44:32 +01:00
  • bf3cccb8fd Add warning on Fedora/CentOS when WG is not running because of kernel versions mismatch Stanislas Lange 2020-03-21 15:42:14 +01:00
  • bef76ae03e
    fix Andrew Prokhorenkov 2020-03-05 09:06:22 -06:00
  • b64f80e7cf
    add ipv6 rules Andrew Prokhorenkov 2020-03-05 08:53:25 -06:00
  • 77be3cf171
    Update wireguard-install.sh Andrew Prokhorenkov 2020-03-05 08:38:38 -06:00
  • 3ad36b0f90
    Update wireguard-install.sh Andrew Prokhorenkov 2020-03-05 08:38:08 -06:00
  • 5aebca6021
    add firewalld configuration in Fedora Andrew Prokhorenkov 2020-03-04 18:34:32 -06:00
  • c15fafbaa8
    add Fedora 32 native wireguard Andrew Prokhorenkov 2020-03-04 18:34:15 -06:00