1
0
mirror of synced 2025-02-07 15:59:25 +03:00

Re-add Android workaround

- VPN on Android 6.0, 7.0 and 7.1.1 requires sha2-truncbug=yes to work
- Android 5.1, 8.0 and 8.1 also connect OK with this setting
- Ref: https://libreswan.org/wiki/FAQ#Configuration_Matters
This commit is contained in:
hwdsl2 2018-05-08 00:39:52 -05:00
parent 17ca2ee87f
commit f2f6524201
2 changed files with 2 additions and 2 deletions

View File

@ -247,7 +247,7 @@ conn shared
dpdaction=clear
ike=3des-sha1,3des-sha2,aes-sha1,aes-sha1;modp1024,aes-sha2,aes-sha2;modp1024
phase2alg=3des-sha1,3des-sha2,aes-sha1,aes-sha2
sha2-truncbug=no
sha2-truncbug=yes
conn l2tp-psk
auto=add

View File

@ -235,7 +235,7 @@ conn shared
dpdaction=clear
ike=3des-sha1,3des-sha2,aes-sha1,aes-sha1;modp1024,aes-sha2,aes-sha2;modp1024
phase2alg=3des-sha1,3des-sha2,aes-sha1,aes-sha2
sha2-truncbug=no
sha2-truncbug=yes
conn l2tp-psk
auto=add