zehome / MLVPN

Multi-link VPN (ADSL/SDSL/xDSL/Network aggregation / bonding)
http://www.mlvpn.fr/
BSD 2-Clause "Simplified" License
518 stars 127 forks source link

Server side : crypto_decrypt failed: -1 #97

Open feedss opened 7 years ago

feedss commented 7 years ago

Server: "Ubuntu 14.04.5 LTS" Already installed:libsodium-dev

root@instance-ipxjqekw:~# mlvpn --user mlvpn -c /etc/mlvpn/mlvpn0.conf --debug 2017-03-02T13:30:42 [WARN/protocol] link2 crypto_decrypt failed: -1 2017-03-02T13:30:42 [WARN/protocol] link1 crypto_decrypt failed: -1 2017-03-02T13:30:43 [WARN/protocol] link2 crypto_decrypt failed: -1 2017-03-02T13:30:43 [WARN/protocol] link1 crypto_decrypt failed: -1 2017-03-02T13:30:44 [WARN/protocol] link2 crypto_decrypt failed: -1 2017-03-02T13:30:44 [WARN/protocol] link1 crypto_decrypt failed: -1

What's the matter? Thanks...

aurelg commented 6 years ago

I had the same problem when trying to connect a mlvpn compiled from source on the client (raspbian @ raspberry pi) to a server installed from the repository provided by mlvpn (Ubuntu Xenial 16.04.3 LTS). I compiled both from source from the master branch (as of today), and the error is gone.

I followed the tutorial here but it's not working yet: there's no error message in the client or server logs, but: