diff --git a/README.md b/README.md index fa57ee9..daad41b 100644 --- a/README.md +++ b/README.md @@ -84,6 +84,8 @@ You may use `vpnupgrade_Libreswan.sh` (for Ubuntu/Debian) and `vpnupgrade_Libres For **Windows users**, a one-time registry change is required for connections to a VPN server behind NAT (e.g. Amazon EC2). +**Android 6.0 users**: Edit `/etc/ipsec.conf` and append `,aes256-sha2_256` to the end of both `ike=` and `phase2alg=`, then add a new line `sha2-truncbug=yes`. Start lines with two spaces. When finished, run `service ipsec restart`. (Source) + To support multiple VPN users with different credentials, just edit a few lines in the scripts. Clients are configured to use Google Public DNS when the VPN connection is active. This setting is controlled by `ms-dns` in `/etc/ppp/options.xl2tpd`. diff --git a/vpnsetup.sh b/vpnsetup.sh index 17b9e35..4dd01e5 100644 --- a/vpnsetup.sh +++ b/vpnsetup.sh @@ -44,6 +44,11 @@ VPN_PASSWORD=your_very_secure_password # to a VPN server behind NAT (e.g. Amazon EC2). Please see: # https://documentation.meraki.com/MX-Z/Client_VPN/Troubleshooting_Client_VPN#Windows_Error_809 +# **Android 6.0 users**: Edit /etc/ipsec.conf and append ",aes256-sha2_256" to the end of both +# "ike=" and "phase2alg=", then add a new line "sha2-truncbug=yes". Start lines with two spaces. +# When finished, run "service ipsec restart". Source: +# https://libreswan.org/wiki/FAQ#Android_6.0_connection_comes_up_but_no_packet_flow + # To support multiple VPN users with different credentials, see: # https://gist.github.com/hwdsl2/123b886f29f4c689f531 diff --git a/vpnsetup_centos.sh b/vpnsetup_centos.sh index 2ecf238..bc0d00a 100644 --- a/vpnsetup_centos.sh +++ b/vpnsetup_centos.sh @@ -53,6 +53,11 @@ VPN_PASSWORD=your_very_secure_password # to a VPN server behind NAT (e.g. Amazon EC2). Please see: # https://documentation.meraki.com/MX-Z/Client_VPN/Troubleshooting_Client_VPN#Windows_Error_809 +# **Android 6.0 users**: Edit /etc/ipsec.conf and append ",aes256-sha2_256" to the end of both +# "ike=" and "phase2alg=", then add a new line "sha2-truncbug=yes". Start lines with two spaces. +# When finished, run "service ipsec restart". Source: +# https://libreswan.org/wiki/FAQ#Android_6.0_connection_comes_up_but_no_packet_flow + # To support multiple VPN users with different credentials, see: # https://gist.github.com/hwdsl2/123b886f29f4c689f531