Commit graph

701 commits

Author SHA1 Message Date
wuhexuan
1c7b4fcc6d 1、在安装环节增加了客户端访问是否全通过VPN的询问,在默认情况下只有客户端访问服务端内网IP时会走VPN,即VPN只起到了连接客户端和服务端的作用;
2、在安装环节将加密设置中的控制通道的安全层默认选项由tls-crypt改为tls-auth;
3、在安装环节判断如果是CentOS系统,则询问是否启用双因子验证功能;
4、在安装环节中,如果是CentOS系统,则检测发现已安装过openssl,则跳过openssl的安装。主要是为了避免覆盖掉系统中已安装的高版本的openssl;
5、升级easy-rsa,由3.1.2升级为3.1.5,同时提供离线安装的功能;
6、在服务端配置中增加重新协商密钥的间隔时间“reneg-sec”,间隔时间调整为3小时;
7、在新建openvpn用户时,如果启用了双因子验证功能,则在客户端配置文件中插入与服务端配置文件中相同的reneg-sec参数;
8、解决在CentOS环境中,无法正常添加防火墙信息的问题。不再通过启动系统服务的方式添加,而是改为通过开机执行脚本的方式;
9、在移除openvpn用户时,如果发现该用户启用了双因子验证,同时又存在系统账号,则询问是否删除系统账号;
10、解决移除openvpn用户后无法再添加同名用户的问题。
2023-08-21 09:46:35 +08:00
Stanislas Lange
80feebed16
Remove visitors badge 2023-01-22 16:43:13 +01:00
Stanislas Lange
d096f7a3a2
Add star history 2023-01-22 16:42:48 +01:00
Stanislas Lange
33fe6af131
Update cloud providers 2023-01-22 01:55:06 +01:00
Stanislas Lange
d2556ff235
Add support for CentOS 9 + update supported distributions 2023-01-22 00:57:40 +01:00
Stanislas Lange
2f76bb5e40 Update easy-rsa to 3.1.2 and fix compatibility with Ubuntu 22.04
Based on this patch by @zerodivisi0n: https://github.com/angristan/openvpn-install/issues/1000#issuecomment-1283484772
2023-01-22 00:10:46 +01:00
Stanislas Lange
ca8d58d5f0 Fix checkout in test workflow 2023-01-22 00:10:46 +01:00
Stanislas Lange
0ac1bf4f51
Format markdown table in readme 2023-01-21 23:41:03 +01:00
Stanislas Lange
64cbbce0b7
Add OpenVPN 2.5 notice to README 2023-01-21 23:40:01 +01:00
Stanislas Lange
580c617d98
Update issue template 2023-01-21 23:18:52 +01:00
Stanislas Lange
2d0eca1a1d
Update issue/PR template + contributing guidelines 2023-01-21 23:06:44 +01:00
Stanislas Lange
48f8c16d3a
Add issue and PR templates 2023-01-21 23:00:30 +01:00
s7r
38d3bf9afa
Update FAQ with IPv6 prefix policies for ULA addresses (#1083)
* Update FAQ with IPv6 prefix policies for ULA addresses

Most operating systems will prefer IPv4 rather than IPv6 ULA, which defeats the purpose of redirect-gateway ipv6. It's nothing the script can do to automate this.
2023-01-18 23:05:09 +01:00
Stanislas Lange
2a57e89489
Public IP detection: change provider
Close #1076 #924 #1039 #925
2023-01-06 21:39:02 +01:00
Jan Stárek
4ee44c8e46
Use DNS fallback to ifconfig.co (#1066)
Co-authored-by: Jan Stárek <jan.starek@ysoft.com>
2023-01-06 21:33:54 +01:00
Christian Ramelow
9b5361d32d
Adds the --no-same-owner flag to tar command (#1070)
Close #1069
2023-01-03 14:09:37 +01:00
xumia
039ebaafe1
Fix the wrong client config when the certificate contains END string (#1067) 2023-01-03 14:06:59 +01:00
Stanislas
8e427ee9c2
Delete .github/ISSUE_TEMPLATE directory 2023-01-03 14:06:19 +01:00
dependabot[bot]
638b51168a
build(deps): bump appleboy/ssh-action from 0.1.5 to 0.1.6 (#1074)
Bumps [appleboy/ssh-action](https://github.com/appleboy/ssh-action) from 0.1.5 to 0.1.6.
- [Release notes](https://github.com/appleboy/ssh-action/releases)
- [Commits](https://github.com/appleboy/ssh-action/compare/v0.1.5...v0.1.6)

---
updated-dependencies:
- dependency-name: appleboy/ssh-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-03 14:05:27 +01:00
dependabot[bot]
d629791a95
build(deps): bump actions/checkout from 3.1.0 to 3.2.0 (#1075)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.1.0 to 3.2.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3.1.0...v3.2.0)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-03 14:05:14 +01:00
Stanislas Lange
86a6d2d3e7
Revert "Use --genkey secret filename instead (#1059)"
This reverts commit 0de56f8f33.
2022-11-21 19:33:24 +01:00
Stanislas
d3751457ab
Remove Debian 9 in e2e tests as it has been removed by DO 2022-11-21 19:15:22 +01:00
Padraig Doran
0de56f8f33
Use --genkey secret filename instead (#1059)
Fix for:
WARNING: Using --genkey --secret filename is DEPRECATED.  Use --genkey secret filename instead.

https://community.openvpn.net/openvpn/wiki/DeprecatedOptions#Option:--secret

Status 	Removed
Deprecated in: 	OpenVPN v2.4
Removed in: 	OpenVPN v2.5
Affects: 	--genkey
Result if used: 	User Warning printed
Replaced by: 	secret (No leading double dash)
Examples: 	Use --genkey secret filename
Notes:
2022-11-21 19:12:46 +01:00
dependabot[bot]
83111c58e7 build(deps): bump actions/checkout from 3.0.2 to 3.1.0
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.0.2 to 3.1.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3.0.2...v3.1.0)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-21 19:07:13 +01:00
dependabot[bot]
a7e54a47ce build(deps): bump appleboy/ssh-action from 0.1.4 to 0.1.5
Bumps [appleboy/ssh-action](https://github.com/appleboy/ssh-action) from 0.1.4 to 0.1.5.
- [Release notes](https://github.com/appleboy/ssh-action/releases)
- [Commits](https://github.com/appleboy/ssh-action/compare/v0.1.4...v0.1.5)

---
updated-dependencies:
- dependency-name: appleboy/ssh-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-21 19:07:04 +01:00
Stanislas
4553dd9c21
ci: remove ubuntu 21.10 as it is not supported by DO 2022-08-17 16:08:12 +02:00
Adiyat Mubarak
deb5867979 Update README.md OpenVPN client for macOS 2022-08-02 10:16:42 +02:00
dependabot[bot]
b3b7593b2d
build(deps): bump actions/checkout from 2.4.0 to 3.0.2 (#996)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2.4.0 to 3.0.2.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2.4.0...v3.0.2)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-12 11:51:39 +02:00
Stanislas
c2059d684d
Add SayThanks badge 2022-01-31 01:40:10 +01:00
Stanislas
fdc3f25987
Fix saythanks URL in README 2022-01-31 01:36:59 +01:00
Stanislas
15d8fb053d
Update FUNDING.yml 2022-01-31 01:36:28 +01:00
Stanislas
f8ec7c39be
Update FUNDING.yml 2022-01-31 01:35:59 +01:00
Stanislas Lange
6e12bf0b2c
Fix linting 2022-01-26 21:54:29 +01:00
Stanislas
45f4ebcc6e
Update bug.yml 2022-01-24 21:22:17 +01:00
Stanislas
8349bf66d4
Update bug.yml 2022-01-24 21:20:41 +01:00
Stanislas
6be8f0aeb5
Update bug.yml 2022-01-24 21:20:28 +01:00
Stanislas
194077bcf7
Update bug.yml 2022-01-24 21:20:00 +01:00
Stanislas
ee862414cd
Rename bug-report-or-suport-request.md to bug.yml 2022-01-24 21:17:17 +01:00
Stanislas
ad9c069411
Update bug-report-or-suport-request.md 2022-01-24 21:16:25 +01:00
Stanislas
68f2080f0c
Update bug-report-or-suport-request.md 2022-01-24 21:15:10 +01:00
Stanislas
b4d6acac83
Update feature-request.md 2022-01-24 21:04:46 +01:00
Stanislas
5fcce43d8d
Update CI images 2022-01-24 21:02:46 +01:00
Stanislas
db2fe12258
Update FUNDING.yml 2022-01-24 20:52:28 +01:00
Stanislas Lange
8c6266053b
ci: update test images 2022-01-07 16:03:31 +01:00
climbTheStairs
3d0014c026
Fix typo (#957) 2022-01-07 15:54:46 +01:00
randomshell
3a5bcf5d2d
Remove unnecessary cipher configuration on Fedora (#762) 2021-12-13 22:50:21 +01:00
Stanislas
8f83781d00
Add retries to curl ifconfig.co (#708)
Fix for #670
2021-12-13 22:48:27 +01:00
dependabot[bot]
6c4d91e5e8
build(deps): bump actions/checkout from 2.3.5 to 2.4.0 (#948)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2.3.5 to 2.4.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2.3.5...v2.4.0)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-13 22:46:07 +01:00
TinCanTech
89b591a160
revokeClient: Do not remove revoked client record from index.txt (#945)
Deleting a revoked (^R) client record from index.txt means that the
client will not be listed in the Certificate Revocation List.  This
effectively "unrevokes" the client and allows the client to continue
using the VPN.

Signed-off-by: Richard T Bonhomme <tincantech@protonmail.com>
2021-12-13 22:45:35 +01:00
dependabot[bot]
dd9d0aa281
build(deps): bump actions/checkout from 2.3.4 to 2.3.5 (#939)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2.3.4 to 2.3.5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2.3.4...v2.3.5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-16 14:28:18 +01:00