TLS Handshake instructions

maartenpelgrim
Posts: 30
Joined: Mon Oct 12, 2015 2:44 am

TLS Handshake instructions

Postby maartenpelgrim » Sun Feb 26, 2017 12:47 am

Hi there,

It seems my client gives me the TLS handshake error when trying to start openVPN from terminal. Next step I took was trying to follow the excellent instructions on the Amahi wiki to 'Prevent SSL Handshake Timeouts In OpenVPN'.

I immediately ran into problems, however. The first thing I am supposed to do, according to the instructions, is go /etc/openvpn/amahi by typing 'cd /etc/openvpn/amahi'.

Access, so it seems, is denied. I have tried opening it with sudo, but this does not change anything. My knowledge and experience with these kind of issues is admittedly limited so I wouldn't know how to solve it.

Help is much appreciated!

All the best,

MPE

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: TLS Handshake instructions

Postby bigfoot65 » Sun Feb 26, 2017 2:04 am

Please provide the result of

Code: Select all

apaste --sysinfo

(should give one or two URLs, sharing the short one is enough).
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

maartenpelgrim
Posts: 30
Joined: Mon Oct 12, 2015 2:44 am

Re: TLS Handshake instructions

Postby maartenpelgrim » Sun Feb 26, 2017 3:24 am


User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: TLS Handshake instructions

Postby bigfoot65 » Sun Feb 26, 2017 9:04 am

Access, so it seems, is denied. I have tried opening it with sudo, but this does not change anything.
This particular directory requires root access. Using sudo is not sufficient, you will need to be root:

Code: Select all

sudo su -
Now try running the command and it should work.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

maartenpelgrim
Posts: 30
Joined: Mon Oct 12, 2015 2:44 am

Re: TLS Handshake instructions

Postby maartenpelgrim » Mon Feb 27, 2017 12:10 am

Well, I was able to access "/etc/openvpn/amahi" now, so that's good!

Sadly, the VPN-connection is not yet working. If I now set up a connection in the terminal I get the following error:

Code: Select all

TLS Error: cannot locate HMAC in incoming packet from [AF_INET]80.101.32.212:1194

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: TLS Handshake instructions

Postby bigfoot65 » Mon Feb 27, 2017 3:41 am

Might want to check out this thread:

viewtopic.php?f=3&t=6766

This may be your issue. We are working to resolve it now.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

maartenpelgrim
Posts: 30
Joined: Mon Oct 12, 2015 2:44 am

Re: TLS Handshake instructions

Postby maartenpelgrim » Mon Feb 27, 2017 11:56 pm

could be,

Any indication on how long it will be? Just to be sure, I am in no way expecting you to quickly fix this, but otherwise I might try ipsec.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: TLS Handshake instructions

Postby bigfoot65 » Tue Feb 28, 2017 6:31 am

Any indication on how long it will be?
The openvpn App has been updated. The client certificates will be added to the wiki hopefully by this afternoon.

You will need to uninstall/reinstall the app, then redo the certs and conf file on your client devices to use the new certs.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Who is online

Users browsing this forum: No registered users and 8 guests