Open freeman42x opened 3 years ago
I read that someone run into the same issue and got it fixed by installing Algo VPN on Ubuntu Server and then using Tasksel to install GUI.
But the scripts should run on the default Ubuntu Desktop also without any issues.
I'm no Python expert so I may be wrong, but I think this issue has something to do with the Ansible openssl_privatekey
function deciding whether to use the pyOpenSSL
or cryptography
libraries. Algo is expecting pyOpenSSL
to be used but on your system cryptography
is being used for some reason.
One workaround is to not use Algo's SSH tunneling feature.
Another workaround is to edit roles/ssh_tunneling/tasks/main.yml and see if changing cipher: aes256
to cipher: auto
works.
I'm assuming you're not trying to turn an Ubuntu 21.04 Desktop instance into your AlgoVPN server. That's unlikely to work as Ubuntu Desktop and Server manage their networks differently and Algo has been only tested to work with Ubuntu Server 18.04 and 20.04 (but will probably work with 21.04).
I see, I was actually trying to get it to work with Ubuntu Desktop. But I deleted that VM so I can no longer test your suggestions.
In the end, I tried to set it up on the 20.04 server and after fixing some issues it finally installed. But connecting to it I get no internet access, so I will probably create a ticket about this soon.
Probable solution here to the internet issue: https://github.com/trailofbits/algo/issues/14196#issuecomment-832181919
Error on install:
Cryptography backend can only use "auto" for cipher option.
under the Task:ASK [ssh_tunneling : Build ssh private keys]
To reproduce install Algo VPN on Ubuntu 21.04 Desktop inside a VM.