[SOLVED] Always so difficult… Trying to get Android smartphone to work
-
Be sure the profile being used on the Android has LF line termination only. Not CRLF.
-
Be sure the profile being used on the Android has LF line termination only. Not CRLF.
Thank you for both replies, NOYB ;D
I'll compare your configs with mine.
What do you mean with the above quoted? I only export the *.ovpn in pfSense export utility, and then try to import it in Android. Do I need to change something somewhere?
-
If you export and use directly that should be fine. It should have only the LF line endings. If you edit it, especially in Windows, it could be saved with CRLF line endings.
-
@Mr.:
Nobody can help me?
This is my opvn profile. different compared to NOYB are (although I don't know why?):
auth SHA1
auth-user-pass
ns-cert-type serverpersist-tun persist-key cipher AES-256-CBC auth SHA1 tls-client client remote domain.dynu.net 44000 udp lport 0 verify-x509-name "smartphone-server" name remote-cert-tls server comp-lzo adaptive <ca>-----BEGIN CERTIFICATE----- -----END CERTIFICATE-----</ca> <cert>-----BEGIN CERTIFICATE----- -----END CERTIFICATE-----</cert> <key>-----BEGIN PRIVATE KEY----- -----END PRIVATE KEY-----</key> <tls-auth># # 2048 bit OpenVPN static key # -----BEGIN OpenVPN Static key V1----- -----END OpenVPN Static key V1-----</tls-auth> key-direction 1
But when I adapt NOYB's differential settings the problem remains the same.
-
Solved.
Don't email the *.opvn profile to your Android device, neither from Windows nor Debian: the Android email client corrupts the *.ovpn…
-
Here. Let me fix that for you.
@Mr.:
Don't email the *.opvn profile
to your Android device, neither from Windows nor Debian: the Android email client corrupts the *.ovpn…Don't email security certificates. Especially private keys. Period!!!
-
Here. Let me fix that for you.
@Mr.:
Don't email the *.opvn profile
to your Android device, neither from Windows nor Debian: the Android email client corrupts the *.ovpn…Period!!!
Here, let me fix that for you:
PeriodComma.
UNLESS it is on your own LAN and you are both the only sender and receiver.
-
@Mr.:
Here. Let me fix that for you.
@Mr.:
Don't email the *.opvn profile
to your Android device, neither from Windows nor Debian: the Android email client corrupts the *.ovpn…Period!!!
Here, let me fix that for you:
PeriodComma.
UNLESS it is on your own LAN and you are both the only sender and receiver.
Nope. Not even then.
-
@Mr.:
…..
UNLESS it is on your own LAN and you are both the only sender and receiver.With or without the mail server on the other side of the planet ? ;)
-