Commit graph

389 commits

Author SHA1 Message Date
Angristan
822db2efab
Add Fedora support
I forgot this
2017-12-16 15:36:17 +01:00
Angristan
bb23ed1227
Merge pull request #139 from Angristan/systemd-openvz-fix
Fix systemd service on OpenVZ
2017-12-16 15:29:02 +01:00
Angristan
96bc36dd0e
Add Fedora support 2017-12-16 15:27:59 +01:00
Angristan
bfa350d693
Merge pull request #134 from ardadem/master
Fedora Support
2017-12-16 15:26:40 +01:00
Arda
6931364a23 Fedora Support 2017-11-30 22:54:53 +03:00
Angristan
68dcea7a1d
Merge pull request #130 from buchdag/quad9
Add Quad9 DNS
2017-11-29 11:22:55 +01:00
Angristan
3b8c5d776a
Update DNS list with Quad9 2017-11-29 11:21:33 +01:00
Angristan
6ac1b185fa
Update DNS list with Quad9 2017-11-29 11:17:06 +01:00
Angristan
a13745afba
Update Quad9 description 2017-11-29 11:15:14 +01:00
Nicolas Duchon
449361007a Add Quad9 DNS 2017-11-29 10:46:58 +01:00
Angristan
1241072bb2
Fix systemd service on OpenVZ
fix the service on all systemd/ubuntu versions
2017-11-28 22:14:27 +01:00
Angristan
0a7ff64549
Update link 2017-11-19 14:06:42 +01:00
Angristan
8c26cadd06 Fix compression and add none choice
Fix compression choice (wasn't put in the client conf so connection was failing) and add the choice to disable compression
2017-11-16 23:51:02 +01:00
Angristan
9b65d3ea39 Rework compatibility table
Added link for Ubuntu 17.10 to ask for help
2017-11-12 23:15:28 +01:00
Angristan
2144fb03cc
Merge branch 'master' into openvpn-2.4-update 2017-11-12 23:07:38 +01:00
Angristan
f47fc795d5 Merge PR #83 : Remove rc.local and use an iptables systemd service
- Install iptables systemd service for Debian, Ubuntu and CentOS
- Fix iptables install for ArcLinux
- Remove the use rc.local file
- Remove all iptables rules when removing openvpn (cf. #60 )
2017-11-12 22:56:02 +01:00
Angristan
80fd8678a6 Revert "Merge PR #83 : Remove rc.local and use an iptables systemd service"
This reverts commit e874013112, reversing
changes made to 998d1e8b13.
2017-11-12 22:51:54 +01:00
Angristan
e874013112 Merge PR #83 : Remove rc.local and use an iptables systemd service 2017-11-12 22:43:55 +01:00
Angristan
aca3b4a019
Fix the network interface variable
Fix for https://github.com/Angristan/OpenVPN-install/pull/83#issuecomment-343758329
2017-11-12 19:54:44 +01:00
Angristan
dcec3f12a4
Disable firewalld to allow iptables to start upon reboot 2017-11-12 18:30:05 +01:00
Angristan
ed17fc074d
Resolve conflicts
Merge changes from master to resolve conflicts
2017-11-12 18:07:07 +01:00
Angristan
998d1e8b13
Merge pull request #92 from NathanZepol/master
Adding auth-nocache option to .ovpn configuration
2017-11-12 16:04:11 +01:00
Angristan
a7a277e2dc
Remove "local" parameter
Revert ad3c223385

On some servers, this prevented OpenVPN to start on boot. (Socket bind failed on local address [AF_INET] IP:1194 Cannot assign requested address)
2017-11-12 15:48:39 +01:00
Angristan
086ca3ab15
Merge pull request #124 from Kcchouette/patch-1
Minor fix
2017-11-09 23:25:45 +01:00
Kcchouette
490b9fb249
Minor fix 2017-11-09 10:10:10 +01:00
Angristan
8a384191de
Add link to OpenVPN 2.4 PR
I don't know when I'll finish the PR but the script is working so I think it's a good idea to give it a bit more visibility until I merge it into master
2017-10-30 23:43:51 +01:00
Angristan
a0821ee5b4 Fix typo 2017-10-17 22:05:11 +02:00
Angristan
db182bc741 Add AdGuard DNS
dccbe2f71d
2017-10-09 19:43:49 +02:00
Angristan
dccbe2f71d Add AdGuard DNS 2017-10-09 17:12:46 +02:00
Angristan
97fa24e884 Fix title class 2017-10-03 15:30:13 +02:00
Angristan
da55d77bb1 Merge branch 'master' into openvpn-2.4-update 2017-10-03 10:16:42 +02:00
Angristan
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
Angristan
5d2e79d6d7 Merge pull request #108 from lavalampa/openvpn-2.4-update
Fix wrong deletion of ovpn configs
2017-10-02 14:25:52 +02:00
lavalampa
d1ea93ea61 fixed typo 2017-10-02 11:39:24 +02:00
Jelle Dekker
603d6747b9 Extended the expiration date of the certificate revocation list to 10 years. 2017-09-29 16:13:02 -05:00
Angristan
ebe2a22bb8 Remove .ovpn config files after uninstalling OpenVPN
Also remove the if $1 = user. I prefer to put all the config files in the same directory
2017-09-28 12:25:54 +02:00
Angristan
9562799ec2 Remove useless apt update 2017-09-28 12:07:35 +02:00
Angristan
341135a6a3 Add compression algorithm choice 2017-09-28 11:10:12 +02:00
Angristan
882ea61b96 Merge pull request #103 from hybtoy/patch-1
"local" option removal / revert https://github.com/Angristan/OpenVPN-install/pull/91
2017-09-25 19:35:33 +02:00
Angristan
07de8b9feb Update openvpn-install.sh 2017-09-25 17:10:06 +02:00
hybtoy
948b6511b7 "local" option removal
Remove "local" option from server.conf.
2017-09-25 10:40:38 +05:00
Angristan
484b601f02 Compatibility update
Dropped Debian 7 and Ubuntu 12.04 according to d0b1fbbe51

Discovered an issue with Arch Linux : https://github.com/Angristan/OpenVPN-install/issues/99
2017-09-17 20:23:11 +02:00
Angristan
d057de2309 Fix previous commit 2017-09-17 19:55:44 +02:00
Angristan
d0b1fbbe51 Drop Debian 7 and Ubuntu 12.04 support
Debian is oldstable and has a bug with iptables. Ubuntu 12.04 is unsupported.
2017-09-17 19:53:38 +02:00
Angristan
f6eecf3dcb Cleanup and rewrites 2017-09-17 18:09:52 +02:00
Angristan
f4b6742f36 Make some space 2017-09-17 17:40:32 +02:00
Angristan
a6e2481f50 Add 2.4 repo for Ubuntu 16.04 + some cleanup 2017-09-17 17:34:13 +02:00
Angristan
9f7663303f Fix if 2017-09-17 15:46:47 +02:00
Angristan
7596918204 Update openvpn-install.sh
Fix 4ec6e24e81
2017-09-17 15:36:11 +02:00
Angristan
ff10bd83e6 Disable cipher negotiation for 2.4 clients
This seems like a little change but it was not easy to find.

I want this script to support only OpenVPN 2.4 servers, but also 2.4 and 2.3 clients.

The thing is, the OpenVPN 2.3 client doesn't care at all what cipher the server wants to use. The cipher parameter in the client config is the king here.

But with OpenVPN 2.4, you can specify whatever cipher you want, the clients and the server will negotiate the best cipher possible, which is AES-256-GCM right now. The use of --ncp-ciphers cipher_list is useless because a 2.3 client will still use its cipher and a 2.4 client will still use AES-256-GCM.

I won't detail all my experiments here, but in the end, ncp-disable disable the cipher negotiation for 2.4 clients. But it will only work if the cipher in the server config and the client config are the same, and as they are in the script, it's ok. This is not the best solution because that means if you want to support a 2.3 client, you'll be forced to use one and only one AES-CBC cipher, even with your 2.4 clients, even though you could use a different cipher for each client. But as we're still using AES and OpenVPN 2.4 getting more and more deployed, this is not a too big issue in the end. Also adding menus to to choose what kind of client you want etc would make the script pretty complicated, so this is a good compromise here.

TL;DR: ncp-disable enforces a OpenVPN 2.4 client to use the specified cipher in the server and the client config.

See here for me details regarding the data channel cipher negotiation in OpenVPN 2.4 : https://community.openvpn.net/openvpn/wiki/Openvpn24ManPage#lbAJ
2017-09-17 12:19:59 +02:00