1
0
mirror of synced 2024-11-26 23:06:03 +03:00
Commit Graph

113 Commits

Author SHA1 Message Date
hwdsl2
28d7da66c8 Better handling of existing config files 2016-01-17 00:41:12 -06:00
hwdsl2
7ac6a030b1 Fix small error in grep command for CentOS VPN script 2016-01-17 00:36:46 -06:00
hwdsl2
9010327a33 Correct small error in notes about escaping characters 2016-01-15 11:05:40 -06:00
hwdsl2
79887bb458 Add notes about escaping characters in VPN variables
Thanks to @sohailmamdani for reminding me on this!
2016-01-15 10:01:40 -06:00
hwdsl2
7cfe17f1a2 Update important notes 2016-01-14 23:27:34 -06:00
hwdsl2
21629ae178 Update VPN scripts for better usability
- Improve detection of public and private IPs
- Test for empty IPSEC_PSK, VPN_USER and/or VPN_PASSWORD
- Check for OpenVZ VPS, which is unsupported
2016-01-14 17:42:32 -06:00
hwdsl2
59c2817731 Quote VPN credentials in chap-secrets for safety 2016-01-14 15:05:50 -06:00
hwdsl2
46a3f9e0b1 Added note for Android 6.0 users
Android 6.0 users must enable SHA2 in /etc/ipsec.conf.
Thanks @rodolfobandeira for the hint!
Ref: 544a25ab77
2016-01-14 14:33:51 -06:00
hwdsl2
e97f1d2598 Removed cloud-init notes for CentOS 6 AMI
The latest version of official CentOS 6 AMI has included cloud-init,
and these notes are no longer applicable.
2016-01-12 22:14:24 -06:00
hwdsl2
dec1b44091 Update VPN scripts for better security and usability
- Install Fail2Ban to protect SSH server from web attacks
- Check public/private IPs against regex for the correct format
- Use printf instead of "read -r -p" for better POSIX compliance
- Other small code enhancements to the scripts
- Update README.md to add "OS update" to Installation
2016-01-12 21:33:16 -06:00
hwdsl2
965ec7ff39 Create working dir before package install 2016-01-08 09:40:57 -06:00
Lin Song
e814bb673a Additional test for CentOS version 2016-01-08 09:02:15 -06:00
Lin Song
2e10e6e891 Update README.md and add vpnsetup_centos.sh 2016-01-07 13:19:22 -06:00