Commit Graph
61 Commits
Author SHA1 Message Date
AngristanandGitHub a0821ee5b4 Fix typo 2017-10-17 22:05:11 +02:00
AngristanandGitHub db182bc741 Add AdGuard DNS
https://github.com/Angristan/OpenVPN-install/commit/dccbe2f71d9b2f96874730cfb07dc4c5924b42c7
2017-10-09 19:43:49 +02:00
AngristanandGitHub dccbe2f71d Add AdGuard DNS 2017-10-09 17:12:46 +02:00
AngristanandGitHub 97fa24e884 Fix title class 2017-10-03 15:30:13 +02:00
AngristanandGitHub b61973516b Merge pull request #109 from jellemdekker/fix/expired-crl
Extended the expiration date of the certificate revocation list to 10 years
2017-10-03 10:10:56 +02:00
AngristanandGitHub 37d42e25fe Update Easy-RSA to v3.0.3 2017-08-23 10:39:33 +02:00
AngristanandGitHub dd1eeb05f9 Merge pull request #91 from clickworkorange/master
Set "local" in server.conf to the chosen IP address
2017-08-22 11:25:36 +02:00
AngristanandGitHub c0ed60e8cf Update openvpn-install.sh 2017-08-22 11:12:42 +02:00
AngristanandGitHub edbe4fed90 Rename OpenVPN's APT list 2017-08-20 22:38:55 +02:00
AngristanandGitHub a3c005c556 Update Debian and Ubuntu repository
swupdate.openvpn.net hasn't been updated since OpenVPN 2.3.14 whereas build.openvpn.net supports OpenVPN 2.4.x as of today
Fixes https://github.com/Angristan/OpenVPN-install/issues/86
2017-08-07 16:44:16 +02:00
AngristanandGitHub 8103bd1947 Merge pull request #84 from Patlol/master
Fixes #8 : Client files not being created in the right folder when using sudo
2017-07-22 21:10:42 +02:00
AngristanandGitHub c703d41795 Fix for Debian 9 on OpenVZ 2017-07-14 17:15:07 +02:00
AngristanandGitHub 276284458f Fix DNS choice 2017-07-08 13:30:58 +02:00
AngristanandGitHub ea114e1a0d Merge pull request #79 from jackdwyer/fix-cipher-option
Fixes last case statement for SEED-CBC
2017-07-03 20:17:38 +02:00
AngristanandGitHub 2584de5d85 Caps are important 2017-06-26 03:11:59 +02:00
AngristanandGitHub f4f8d08067 Add support for Debian 9 Stretch and architectures details
I figured it would be useful to add architectures to the list, especially considering the rise of ARM servers.
2017-06-26 03:02:16 +02:00
AngristanandGitHub cd01329585 Add support for Debian 9 Stretch 2017-06-26 02:41:40 +02:00
AngristanandGitHub e185698445 Use current system resolvers as default
That makes more sense that putting French servers.

What is in /etc/resolv.conf is not always good, but most of the time it's the hoster's or something nearby. Thus it makes more sense for the user to use them by default.
2017-06-26 02:37:41 +02:00
AngristanandGitHub 6800ef35f7 Typo
It's late.
2017-06-26 02:20:38 +02:00
AngristanandGitHub 19fe6626f1 Implements OpenVPN 2.4 changes for Arch Linux (kind of)
Since OpenVPN 2.4 is out on Arch, the script wasn't working completely because of this : https://www.archlinux.org/news/openvpn-240-update-requires-administrative-interaction/

There is a new path for OpenVPN server config. This is just needed on Arch for now, and you're probably not going to run an OpenVPN client on an OpenVPN server. 

Thus I modified the systemd script to use `/etc/openvpn/` and `server.conf` instead of the new `/etc/openvpn/server/` and `openvpn.conf`.

By using the same paths as the other distros, I avoid to rewrite the entire script to change the paths...

It's not 100% clean, but it works pretty well. If you have any objection please leave a comment.

Also, I updated the new service name.

As far as I tested, it's working fine on Arch Linux for now.

Fixes #63 and #61
2017-06-26 02:17:14 +02:00
AngristanandGitHub ac203dd5ee Fix iptables rules on reboot for some OS
Thanks a lot to Nyr for the fix : https://github.com/Nyr/openvpn-install/commit/a31aaf82f3664e5854c617752a5493011ede731f

Fixes https://github.com/Angristan/OpenVPN-install/issues/6.

On Ubuntu 17.04, 16.10 and Debian 9, the iptables rules were not applied because of rc.local
2017-06-25 22:01:05 +02:00
AngristanandGitHub 10351305e3 Google Compute Engine support
Merge pull request #57 and close issue #46
2017-06-25 20:21:36 +02:00
AngristanandGitHub 8c66c8e684 Fix client revocation
A client revocation would make crl.pem unreadable and thus blocking any other client to connect.

Fixes https://github.com/Angristan/OpenVPN-install/pull/47, https://github.com/Angristan/OpenVPN-install/issues/25 and https://github.com/Angristan/OpenVPN-install/issues/49.
2017-06-25 19:58:41 +02:00
AngristanandGitHub ec41b64b15 Added Yandex Basic DNS resolvers
Nice speed for Russia
2017-06-23 14:32:16 +02:00
AngristanandGitHub a2a3bfc605 Added Yandex Basic DNS resolvers
https://dns.yandex.com/

Nice for Russia.
2017-06-23 14:30:57 +02:00
AngristanandGitHub d712e15795 Support OpenSSL 1.1.0 DH generation
Fixes dh.pem gen on Debian 9 and Arch Linux

https://github.com/Angristan/OpenVPN-install/issues/64
https://github.com/Angristan/OpenVPN-install/issues/74

https://www.debian.org/releases/stretch/amd64/release-notes/ch-information.en.html#openssl-issues
2017-06-18 21:12:25 +02:00
AngristanandGitHub 5d40c041dd More proper remove
openvpn-blacklist isn't installed with Debian 9.
2017-06-18 21:07:15 +02:00
AngristanandGitHub 0bc1e6ea59 Add support for Ubuntu 17.04 2017-05-07 23:59:43 +02:00
AngristanandGitHub 823ff21fcc Add support for Ubuntu 17.04 2017-05-07 23:56:19 +02:00
AngristanandGitHub b3f62850e7 Fix broken headings in Markdown files
Merge pull request #53 from bryant1410/master
2017-04-17 14:33:31 +02:00
AngristanandGitHub e8554eb35a Updates links 2017-03-01 17:10:33 +01:00
AngristanandGitHub 06c66a96a7 Correct typo 2017-02-06 14:05:58 +01:00
AngristanandGitHub adfb8b9a2f Update LICENSE 2016-12-20 15:04:12 +01:00
AngristanandGitHub 63ed1449de Merge pull request #11 from Seeder101/patch-1 (typo)
Fix typos
2016-12-17 20:01:18 +01:00
AngristanandGitHub 316ecfe7f4 Use SHA-256 instead of SHA-384
Following https://github.com/Angristan/OpenVPN-install/commit/693bd13fa723b8d5077539a7208f759c51c04a06
2016-12-11 12:11:11 +01:00
AngristanandGitHub 693bd13fa7 Use SHA-256 instead of SHA-384
Thanks to David_5.1 (https://angristan.fr/mise-a-jour-de-mon-script-openvpn/#comment-2750) who pointed out that there was a mistake on the Wikipédia page of the Length extension attack (https://en.wikipedia.org/wiki/Length_extension_attack), and it was affecting all the SHA2 family, not just SHA256. It's a theoretical attack though. I didn't find any reason to use one member of the SHA2 family more than an other, so I switched to SHA-256 for now.
2016-12-11 12:07:50 +01:00
AngristanandGitHub 7f6a007637 Add source for the crypto update 🔐 2016-12-04 19:00:26 +01:00
AngristanandGitHub 98a0dbf26d Fix typo of the crypto update 🔐
Thanks to https://twitter.com/TiCubius/status/805468611875897344
2016-12-04 18:49:08 +01:00
AngristanandGitHub da64aa8df8 The crypto update 🔐 + improvements
Following this commit : https://github.com/Angristan/OpenVPN-install/commit/56477bba34e73faf376f8e7914eaf21c97d3dc6c

I wanted to improve the readability of the Readme, and also explain myself regarding the encryption parameters I have chosen in the script.

I took hours to write and add the sources, so I may have made some mistakes. I'll gladly accept any feedback ^^
2016-12-04 18:24:38 +01:00
AngristanandGitHub 7a5bb93cbe AES-256 is not necessarily the most secure cipher
Indeed, it it most vulnerable to Timing Attacks : https://en.wikipedia.org/wiki/Length_extension_attack

Also, AES 128 is secure enough for every one, so it's still the recommended cipher.
2016-12-04 17:21:41 +01:00
AngristanandGitHub 56477bba34 The crypto update 🔐
- Removed "fast" and "slow" mode (not a good idea, I prefer to give the choice for the parameters directly)
- Corrected some confusion between the cipher for the data channel and the control channel, my bad.
- using TLS-DHE-RSA-WITH-AES-256-GCM-SHA384 by default for the control channel
- using SHA384 by default for HMAC auth and RSA certificate
- giving the choice for the cipher of the data channel, the size of the DH key and the RSA Key

I will explain all my choices here : https://github.com/Angristan/OpenVPN-install#encryption (likely tomorrow)
2016-11-28 22:13:32 +01:00
AngristanandGitHub c03a55f11f Making sure a correct DNS option is selected 2016-11-27 14:31:25 +01:00
AngristanandGitHub 421d69e92d Arch Linux + other changes 2016-11-26 17:20:56 +01:00
AngristanandGitHub d3b0ec10e7 Remove UFW and MASQUERADE
See https://github.com/Angristan/OpenVPN-install/commit/17a9d76ae9186975c3ce4edd320334b2b1ef4ba9
2016-11-25 01:01:10 +01:00
AngristanandGitHub 17a9d76ae9 Remove ufw and MASQUERADE support
Not useful, badly implemented.
2016-11-25 00:59:03 +01:00
AngristanandGitHub 218e474f85 Add logs
Can be useful.
2016-11-24 23:34:15 +01:00
AngristanandGitHub 2db5ff8adf Avoid DNS leak on W10 2016-11-24 23:04:24 +01:00
AngristanandGitHub 98ca79a9de Move rc.local and sysctl installation after the confirmation 2016-11-24 20:28:49 +01:00
AngristanandGitHub f9016fb3b5 Add TCP support 2016-11-23 20:22:57 +01:00
AngristanandGitHub 80dbca6e63 Add TCP support
There is now the choice to use TCP or UDP for OpenVPN protocol. You should always use UDP, but TCP can be useful sometimes : on lossy networks or to bypass some blockage
2016-11-21 19:57:52 +01:00
AngristanandGitHub 662fe26f5b I don't know why it wasn't like this from the beginning 2016-11-20 23:09:42 +01:00
AngristanandGitHub 552709059e Fix my previous commit
My bad.
2016-11-20 22:50:51 +01:00
AngristanandGitHub a09ef4868a The user can choose to continue the installer even if its OS is not supported
At its own risk of course. But usefull if using Ubuntu beta or Debian unstable/testing
2016-11-20 22:47:23 +01:00
AngristanandGitHub 457005d03a Add old repo 2016-11-20 16:39:36 +01:00
AngristanandGitHub cbd57e6416 Add contributors 2016-11-20 16:03:59 +01:00
AngristanandGitHub 77301f9a9d Some clarification 2016-11-20 15:29:23 +01:00
AngristanandGitHub 903270be4b Remove OpenNIC servers
Not consistant and can't really be trusted
2016-11-20 15:01:42 +01:00
AngristanandGitHub b0f271bc5f Specify the location of the DNS servers 2016-11-20 14:52:47 +01:00
AngristanandGitHub 1e80e145f0 Fix title 2016-11-20 14:23:48 +01:00
AngristanandGitHub 3f58eb781c Some cleanup 2016-11-20 14:22:08 +01:00
AngristanandGitHub 98d7d7a358 Update date and copyright holder 2016-11-20 13:26:50 +01:00