Page 1 of 1

what’s wrong with my setup

Posted: Fri Oct 30, 2020 9:45 pm
by monsieurN
When i try to connect with android smartphone, i have this message :

"There was anerror attempting to connect to selected server".
In my log file : tunnels bytes per CPU second :0

this is my setup :
Client config

client
dev tun
proto udp
remote SERVER.COM 1194
resolv-retry infinite
nobind
persist-key
persist-tun

<ca>
-----BEGIN CERTIFICATE-----

-----END CERTIFICATE-----
</ca>

<cert>


-----BEGIN CERTIFICATE-----

-----END CERTIFICATE-----

</cert>

<key>
-----BEGIN PRIVATE KEY-----

-----END PRIVATE KEY-----
</key>

remote-cert-tls server
;tls-auth ta.key 1
comp-lzo
verb 3

Code: Select all

Certificate:
    Data:
        Version: 3 (0x2)
        Serial Number: 2 (0x2)
    Signature Algorithm: sha256WithRSAEncryption
        Issuer: C=EU, ST=FR, L=Lyon, O=ServerVPN, OU=changeme, CN=ServerVPN/name=changeme/emailAddress=xxx@yahoo.fr
        Validity
            Not Before: Oct 15 19:15:00 2020 GMT
            Not After : Oct 13 19:15:00 2030 GMT
        Subject: C=EU, ST=FR, L=Lyon, O=ServerVPN, OU=changeme, CN=ClientVPN/name=changeme/emailAddress=xxx@yahoo.fr
        Subject Public Key Info:
            Public Key Algorithm: rsaEncryption
                Public-Key: (4096 bit)
                Modulus:
                    
                Exponent: 65537 (0x10001)
        X509v3 extensions:
            X509v3 Basic Constraints: 
                CA:FALSE
            Netscape Comment: 
                Easy-RSA Generated Certificate
            X509v3 Subject Key Identifier: 
                1F:8C:A1:E7:23:A1:56:60:C3:F9:43:36:DE:4F:B4:73:62:A4:50:1D
            X509v3 Authority Key Identifier: 
                keyid:CC:2E:FC:E9:1D:A6:F6:4E:84:60:3D:8A:C6:63:F4:F1:38:FF:66:43
                DirName:/C=EU/ST=FR/L=Lyon/O=ServerVPN/OU=changeme/CN=ServerVPN/name=changeme/emailAddress=xxx@yahoo.fr
                serial:94:59:74:71:84:E0:EC:4D

            X509v3 Extended Key Usage: 
                TLS Web Client Authentication
            X509v3 Key Usage: 
                Digital Signature
    Signature Algorithm: sha256WithRSAEncryption
    
Can someone help me please?

Re: what’s wrong with my setup

Posted: Tue Nov 03, 2020 8:58 pm
by monsieurN
Finally, I managed to configure the client and server. you can delete my post