giotto
689b77b73e
lgtm
...
Co-authored-by: Orazio <orazioedoardo@users.noreply.github.com>
2020-07-19 21:46:18 +02:00
gi8
aa297e5296
add parameter to force remove profile
2020-07-16 15:01:27 +02:00
gi8
92f900637e
rename param -f|--force to -y|--yes
2020-07-16 15:00:35 +02:00
giotto
c1dc825ace
add parameter to force remove profile
2020-07-11 21:38:11 +02:00
Orazio
b2ab7fc862
Fix change from pull request #1000 that prevented 'pivpn -l' to show revoked client names
2020-06-09 15:45:38 +02:00
Orazio
9d0ed1ec00
Remove just the MASQUERADE line, not the whole NAT section of the UFW configuration.
...
- The sed command would not work if there were other user-defined rules or if
another VPN was installed.
2020-06-09 13:17:02 +02:00
Orazio
de127173dd
Less fragile way to add and remove clients (issue #1050 )
2020-06-09 12:25:41 +02:00
Hìr0
e7df6752cd
#281 CHANGED Minor changes after cross-check
2020-06-07 16:09:55 +02:00
Hìr0
46c463d1d5
Fix issue pivpn#281
2020-06-01 00:39:18 +02:00
Orazio
427c484cac
Updated backup scripts for dual VPN
2020-05-29 17:46:04 +02:00
Orazio
823afa3fbb
Improved dual VPN uninstallation, remove duplicate code/script
...
- Allow using 'pivpn vpn -u' to directly uninstall VPN 'vpn'
- Also allow using 'pivpn -u' with two VPNs (will present a dialog).
- During uninstall, ask which VPN to remove only if there are two VPNs
- PiVPN git repo will be downloaded to '/usr/local/src/pivpn'. All scripts
in /opt/pivpn, the main pivpn script and the bash completion file,
are now just symbolic links. Resolves issue #695 .
- Remove unused call to updateWireGuard().
2020-05-27 16:36:26 +02:00
Orazio
1dc10e7d54
Merge pull request #1054 from shelleycat485/test
...
Tidy dual VPN protocol install
2020-05-26 09:55:22 +02:00
shelleycat485
6cfe936f55
self_check assign parameter
2020-05-25 15:43:31 +01:00
shelleycat485
15804dff39
selfcheck checks one VPN type again
2020-05-25 15:24:50 +01:00
Orazio
f06f6d7920
Temporarily disable 'pivpn -up' until a proper update strategy is defined
...
- 'pivpn -up' pulls the latest scripts from github, however, as of now, its usefulness
is limited since usually a change in those scripts is a result of a change in the
installation process, and those changes can't be applied to an older installation.
2020-05-25 10:14:15 +02:00
Orazio
2913f2701f
Fix issue #1037
2020-05-23 11:08:51 +02:00
shelleycat485
b0c473c9cc
self check better check of incompatible versions
2020-05-22 15:26:05 +00:00
shelleycat485
b90077bd78
remove refs to /etc/pivpn/setupVars in selfcheck and debug scripts
...
tidy indenting
on install, check if symlink already exists before making one to avoid error
uninstall indicates which vpns are available for uninstall
selfcheck checks both protocols if both present
install - additional text in reconfigure saying 2nd protocol can be added
change to use pivpn ovpn instaed of pivpn opv when dual protocols exist
2020-05-22 12:41:02 +01:00
Orazio
35f07b2147
Merge pull request #1048 from shelleycat485/master
...
Both wireguard and openvpn can be installed together (Issue #968 )
2020-05-19 14:06:58 +02:00
shelleycat485
4e3a57b9aa
better uninstall.sh
2020-05-13 00:51:45 +01:00
Ubuntu
56adbca52e
more uninstall
2020-05-10 21:48:38 +00:00
Ubuntu
ff77077d56
more uninstall
2020-05-10 21:46:54 +00:00
Ubuntu
b230bade61
uninstall fixes
2020-05-10 21:13:03 +00:00
shelleycat485
9b04391629
uninstall change
2020-05-06 23:29:04 +01:00
shelleycat485
f6463b8849
uninstall to detect one prot remaining, wg_update removed
2020-05-06 23:00:13 +01:00
shelleycat485
e09bbda1e9
update to backup
2020-05-05 23:13:59 +01:00
shelleycat485
081bf912c2
still debugging dual
2020-05-05 23:12:32 +01:00
shelleycat485
21d954167c
typo in openvpn
2020-05-05 21:43:20 +01:00
shelleycat485
9351016db5
extra D in scriptdir
2020-05-05 09:24:20 +01:00
shelleycat485
4e3a58702f
more dual
2020-05-05 00:05:10 +01:00
shelleycat485
5330454f2b
added generic pivpn for 2 protocols
2020-05-03 17:55:48 +01:00
shelleycat485
3ed9ec5724
install and uninstall
2020-05-02 00:06:09 +01:00
root
f379ca2e10
initial dual install try
2020-04-28 23:44:56 +01:00
Orazio
1f506f50a6
Merge pull request #1023 from jellemdekker/feature/unique_client_psk
...
Generate unique pre-shared key for each client
2020-04-23 11:15:48 +02:00
jellemdekker
bdfb8f4a64
Save pre-shared key to file instead of variable.
2020-04-22 14:12:09 +02:00
Casey Liss
bac5c22653
fix spelling & grammar in backup script.
2020-04-21 08:08:20 -04:00
jellemdekker
e643acce17
Generate a unique pre-shared key for each client as per WireGuard protocol to improve post-quantum resistance.
2020-04-21 10:52:35 +02:00
psgoundar
4039a0d173
Update scripts/openvpn/listOVPN.sh
...
Co-Authored-By: Orazio <orazioedoardo@users.noreply.github.com>
2020-04-05 14:35:33 -07:00
psgoundar
fb1cd97c28
Update scripts/openvpn/listOVPN.sh
...
Co-Authored-By: Orazio <orazioedoardo@users.noreply.github.com>
2020-04-05 14:34:53 -07:00
psgoundar
ec6880eb99
Apply suggestions from code review
...
Format Changes Reviewed.
Co-Authored-By: Orazio <orazioedoardo@users.noreply.github.com>
2020-04-01 19:44:37 -07:00
Swamy Goundar
289e85e306
Fixed issue with Name when OU is defined in CA
2020-03-28 20:48:44 -07:00
Swamy Goundar
c28448b94a
Updated listOVPN to Include Expiration Dates
2020-03-28 19:36:55 -07:00
Orazio
6653d4caa3
Show connected clients data rates with dotted decimal notation
2020-03-13 12:03:41 +01:00
Orazio
1352ccf9a3
Avoid IPv6 leak by routing IPv6 through WireGuard
...
- Since the server is IPv4 only, routing IPv6 through it prevents IPv6
packets from going outside the tunnel (if the client supports IPv6).
2020-03-10 14:16:23 +01:00
Orazio
0a30365d65
Some changes from pull request 963
...
- Make sure to install WireGuard only if platform is Raspbian or an x86 Debian/Ubuntu
- Install WireGuard from bullseye repository instead of unstable
- Reduced WireGuard package priority to the minimum that allows upgrades
2020-03-04 12:48:14 +01:00
Orazio
9846d3787a
Use variables to define VPN ranges instead of hard coding IPs
2020-02-16 09:09:09 +01:00
Orazio
0cb5546608
Get $STATIC_IP before ccd folder is deleted (otherwhise $STATIC_IP will be empty)
2020-02-10 17:36:39 +01:00
Orazio
2c6ba65288
Implemented feature request from issue #942 (OpenVPN)
2020-02-09 18:55:30 +01:00
Orazio
ead280e60f
Set static IPs when using OpenVPN
...
- Preparation for feature request from issue #942
2020-02-09 18:51:30 +01:00
Orazio
3f616d9254
Implemented feature request from issue #942 (WireGuard)
2020-02-07 18:07:15 +01:00