1
0
mirror of synced 2024-11-23 21:36:09 +03:00
Commit Graph

1134 Commits

Author SHA1 Message Date
hwdsl2
01b5cf1c6b Minor improvement to ignore IPv6 errors 2016-02-08 10:46:06 -06:00
Lin Song
b937dd4211 Update README.md 2016-02-06 13:30:30 -06:00
Lin Song
5bc0034821 Update README.md 2016-01-30 14:15:51 -06:00
hwdsl2
39c9249c3b Minor improvements and clean up 2016-01-30 13:12:15 -06:00
hwdsl2
7072264fcf Update README.md 2016-01-25 10:46:20 -06:00
hwdsl2
5f617a30cb Update copyright year 2016-01-25 10:38:07 -06:00
hwdsl2
f8b91f65a4 Check for iptables-persistent and copy new rules 2016-01-22 11:14:58 -06:00
hwdsl2
ab98a9e6b0 Clean up sysctl.conf settings 2016-01-21 17:00:51 -06:00
hwdsl2
684761015e Minor improvements and clean up 2016-01-21 11:50:35 -06:00
hwdsl2
b61035137f Important: Fixed an error in IP format checking.
- Due to a mistake in the "grep" command, empty strings would pass the IP
  regex checks, which is not OK.
- Please update your VPN scripts with this commit!
2016-01-21 09:45:31 -06:00
hwdsl2
f47d78b0f1 Improve the process of defining VPN variables
- Put variables inside single quotes to avoid escaping them
- Make clear which characters should not be used in values

Thanks for your helpful suggestions, @Langleson !
2016-01-21 02:12:30 -06:00
Lin Song
58a46bfe95 Update README.md 2016-01-20 23:23:46 -06:00
hwdsl2
139f3f3cb0 Minor improvements to upgrade scripts 2016-01-19 23:17:18 -06:00
Lin Song
e6d62a76d5 Update README.md 2016-01-19 10:34:52 -06:00
hwdsl2
acb2000e40 Minor changes in wording and some optimizations 2016-01-19 02:29:01 -06:00
hwdsl2
be5e6557bc Add check for unsupported OpenVZ VPS 2016-01-19 01:32:22 -06:00
hwdsl2
9609b0b7b5 Add check for network interface eth0 2016-01-19 01:26:12 -06:00
hwdsl2
7ca9723e45 Minor changes in wording 2016-01-19 01:23:17 -06:00
hwdsl2
49f8eb28e6 Minor improvement to OS detection 2016-01-18 12:37:09 -06:00
hwdsl2
bd42a23185 Use newer Libevent2 packages from download.libreswan.org 2016-01-18 11:34:29 -06:00
hwdsl2
7f3b94308d Small improvement to OS detection 2016-01-17 20:17:18 -06:00
hwdsl2
d82d6d00b3 Update comments in the VPN scripts 2016-01-17 17:05:35 -06:00
hwdsl2
be2695732d Check for install results at the end of script 2016-01-17 14:55:43 -06:00
hwdsl2
4ab84f14aa Update sysctl.conf settings and IPTables rules 2016-01-17 14:29:30 -06:00
hwdsl2
a15e502056 Update sysctl.conf settings, and add IP6Tables rules 2016-01-17 12:17:26 -06:00
Lin Song
8f35af5646 Fix small error in grep command for upgrade script 2016-01-17 01:17:45 -06:00
hwdsl2
6be624a1d1 Update README.md 2016-01-17 01:11:19 -06:00
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
Lin Song
89555dc425 Update README.md 2016-01-16 11:21:59 -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
4f198ab994 Use full path for ipsec command 2016-01-12 23:05:16 -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
Lin Song
7a49f9a236 Update README.md 2016-01-10 13:09:39 -06:00
Lin Song
a58310e06b Update README.md 2016-01-09 23:34:54 -06:00
Lin Song
f559640f97 Update README.md 2016-01-08 10:19:18 -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
694a006102 Update README.md 2016-01-08 03:17:50 -06:00
hwdsl2
838fbc6807 Add upgrade scripts for Libreswan 2016-01-08 03:03:56 -06:00
Lin Song
f542bf5498 Update README.md and create LICENSE.md 2016-01-08 02:54:06 -06:00
Lin Song
33ad2b7996 Update README.md 2016-01-07 14:22:59 -06:00
Lin Song
2e10e6e891 Update README.md and add vpnsetup_centos.sh 2016-01-07 13:19:22 -06:00
Lin Song
2aaaf44385 Combined Revisions
combined revisions
2016-01-04 15:13:10 -06:00