hwdsl2
ba0fbb3860
Improve script outputs
2017-01-09 02:50:03 -06:00
hwdsl2
9500da3231
Bugfix
...
- Fix commit ca84aa7
to avoid a possible race condition
when starting ipsec and xl2tpd services on boot
2017-01-06 00:51:59 -06:00
hwdsl2
ca84aa7a13
Improve services on boot
2017-01-04 02:21:09 -06:00
hwdsl2
89d75f7243
Bugfix for Android 6 and 7
...
- Add "sha2-truncbug=yes" to /etc/ipsec.conf to fix VPN connections
on Android 6 (Marshmallow) and 7 (Nougat)
- Ref: https://libreswan.org/wiki/FAQ#Configuration_Matters
2017-01-03 22:40:48 -06:00
hwdsl2
3dbf3a9c09
Remove xl2tpd workaround
...
- Updated xl2tpd package is now available in EPEL
- This workaround is no longer needed
- Ref: https://bugzilla.redhat.com/show_bug.cgi?id=1406360
- Ref: 8cc1362
2016-12-31 16:36:04 -06:00
hwdsl2
261e472e3e
Bugfix
...
- In xl2tpd version 1.3.8, which was pushed to the EPEL repository
in Dec. 2016, the options "crtscts" and "lock" are no longer
recognized in "/etc/ppp/options.xl2tpd" and generates an error.
- This commit fixes the VPN on CentOS by removing those options.
- Ref: https://github.com/xelerance/xl2tpd/issues/108
2016-12-30 00:56:38 -06:00
hwdsl2
b59389a03f
Use L2TP kernel support
...
- Use L2TP kernel support on CentOS 6
- This could improve L2TP performance
2016-12-29 00:53:30 -06:00
hwdsl2
8cc1362d17
Workaround for xl2tpd bug
...
- Temporary workaround for an xl2tpd bug which affects CentOS 7
- Ref: https://bugzilla.redhat.com/show_bug.cgi?id=1406360
2016-12-28 13:23:27 -06:00
hwdsl2
6479212c45
Improve workaround
...
- Improve workaround for non-eth0 network interfaces
- Fixed an issue where it cannot be used with sudo
2016-11-28 13:11:57 -06:00
hwdsl2
61bd1254ed
Minor clean up
2016-11-10 13:02:04 -06:00
hwdsl2
6d99a01b0a
Remove SHA2 workaround
...
- Libreswan 3.18 and higher prefers sha2_512 over sha2_256
- The 'sha2-truncbug=yes' workaround is no longer needed
- Ref: https://libreswan.org/wiki/FAQ#Configuration_Matters
2016-11-06 14:40:30 -06:00
hwdsl2
6e16712bc5
Minor clean up
2016-10-31 01:59:11 -05:00
hwdsl2
9319ce8ae2
Clean up IPTables rules
...
- Only add the necessary IPTables rules for the VPN
- Other minor clean ups
2016-10-29 18:00:24 -05:00
hwdsl2
e3d830dfd4
Improve services on boot
...
- Better handling of starting IPTables & Fail2Ban on boot
- Use iptables-services and disable firewalld for CentOS 7
2016-10-29 18:00:11 -05:00
hwdsl2
6f2818753a
Minor improvements and clean up
2016-10-10 22:34:51 -05:00
hwdsl2
4c6de2af29
Improve network interfaces
...
- Better handling of non-eth0 network interfaces
- Now easier to use on servers with new interface names
2016-10-10 16:49:46 -05:00
hwdsl2
0e51150d84
Check VPN credentials
...
- If the provided VPN credentials contain \ " or ', exit with error
- The above special characters can cause issues with the VPN
2016-09-23 14:31:10 -05:00
hwdsl2
cce15b7f08
Improve IP checking
...
- Use a function to simplify code for IP checking
- Remove new lines before matching with IP regex
2016-09-23 00:39:36 -05:00
hwdsl2
7cdd372a6e
Improve IPTables rules
...
- Fixed an uncommon use case where the setup script is run again after
a server IP change. Make sure to update IPTables rules in this case.
- Thanks @larryisthere! Ref: #17
2016-09-21 21:06:22 -05:00
hwdsl2
7937a74469
Improve IP detection
...
- Remove unneeded code for Amazon EC2
- Check IPs for correct format after each try
2016-09-09 15:41:02 -05:00
hwdsl2
96a071ebc5
Improve VPN ciphers
...
- Add stronger cipher options
- Fix for Android 6.0 VPN clients
2016-08-26 00:21:10 -05:00
hwdsl2
14767d354f
Reduce wget timeout
2016-08-11 22:12:22 -05:00
hwdsl2
335b4035b9
Minor clean up
2016-08-07 14:00:07 -05:00
hwdsl2
077b119274
New Libreswan version 3.18
2016-07-29 12:55:08 -05:00
hwdsl2
004c68f6ad
Improve readability and clean up
2016-07-12 22:43:41 -05:00
hwdsl2
1f76dc169a
Better handling of custom SSH port
2016-07-10 00:47:41 -05:00
hwdsl2
7bece1681d
Minor improvements and clean up
2016-07-03 21:28:27 -05:00
hwdsl2
ac91fa9b79
Improve error output
2016-06-29 03:22:21 -05:00
hwdsl2
8336260799
Minor improvement to 'tr'
2016-06-29 03:20:49 -05:00
hwdsl2
c28f9b0928
Prepare for new requirements
...
- New requirements in Libreswan 3.18 (not released yet)
- libsystemd-dev (Ubuntu/Debian) or systemd-devel (CentOS)
- Applies only to systemd-based Linux distributions
2016-06-28 17:49:18 -05:00
hwdsl2
d32b449f46
Improve IP detection
2016-06-26 13:00:11 -05:00
hwdsl2
f0804e5184
Remove IP6Tables rules
...
- Not needed for the VPN to work
2016-06-26 01:09:13 -05:00
hwdsl2
fa704629f0
Improve backup of IPTables rules
2016-06-26 00:56:12 -05:00
hwdsl2
de6f4a45ad
Minor improvements and clean up
2016-06-21 03:54:47 -05:00
hwdsl2
59c7227587
Improve defining VPN variables
2016-06-11 15:36:43 -05:00
hwdsl2
deb2f75eb9
Improve eth0 detection
2016-06-10 22:05:26 -05:00
hwdsl2
8a75d02751
Improve xl2tpd options
2016-06-10 19:34:59 -05:00
hwdsl2
e3bdaeba52
Improve error output and clean up
...
- Output all error messages to STDERR
- Minor improvements and clean up
2016-06-07 19:29:30 -05:00
hwdsl2
feaeadb41a
Minor fix for IPTables rules
2016-06-06 12:18:22 -05:00
hwdsl2
6aaf6240c1
Re-add support for 32-bit CentOS
...
Refer to commit: 1cc1e89
2016-06-06 12:04:52 -05:00
hwdsl2
6643a8cd87
Add fallback URL for Libreswan
2016-06-05 18:24:15 -05:00
hwdsl2
9317f4824d
Improve IPTables rules for VPN
...
- Allow traffic between VPN clients themselves by default
- Add notes on how to change this behavior (uncomment rules)
2016-06-05 17:34:24 -05:00
hwdsl2
371b5c3e7f
Minor improvements and clean up
2016-06-05 00:26:56 -05:00
hwdsl2
9ce1769208
Minor improvement to IPsec config
2016-06-03 16:44:37 -05:00
hwdsl2
3e1ea78f15
Improve defining VPN variables
2016-06-01 21:27:29 -05:00
Dustin Oprea
34c6511ebe
Added execute bit to scripts.
2016-05-27 21:06:25 -04:00
hwdsl2
1cc1e89963
Use Libevent2 from CentOS 6 repo
...
- Libevent2 is newly available in CentOS 6 as of May 12
- No longer need to install from download.libreswan.org
- Remove libevent-devel before install to avoid conflicts
- Thanks to Thomas C for reporting this issue
2016-05-26 18:16:24 -05:00
hwdsl2
a1dd7c687b
Minor changes in wording
2016-05-26 14:31:11 -05:00
hwdsl2
9e300f3907
Use lowercase variable names
2016-05-21 05:34:19 -05:00
hwdsl2
8628301d28
Minor improvements and clean up
2016-05-21 03:59:08 -05:00