Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connectivity and Data communication #299

Open
BigB2024 opened this issue Jun 27, 2024 · 2 comments
Open

Connectivity and Data communication #299

BigB2024 opened this issue Jun 27, 2024 · 2 comments
Assignees

Comments

@BigB2024
Copy link

BigB2024 commented Jun 27, 2024

Dear Wolfgang
Hi,
I was able to install Ansible-easy-vpn and all its components as it was instructed in youtube. It all went through, and I got to wg.mydomain.com, also, I am able to make a new client and generate the QR code or download the credentials. The client makes the basic connection through its local Wireguard interface (in my Case PC pr iPhone), but the data doesn't communicate at all and I don't get the red dot next to my client name as it should be in wg.mydomain.com. Here is the screen shot for you review .

*FIY, prior to this I did follow your advise in FAQ section and changed WG port, it fails in the middle off modification (screenshot is attached). Is there any process I need to disable before running the script to avoid this error?

Another question please, How can I undo (uninstall) ansible-easy-vpn instead of reinstalling the OS?

Will you advise please
Many Thanks
Ben

Screenshot 2024-06-27 145229
Screenshot 2024-06-27 234355

Environment:

  • Client OS: Windows, OSX
  • VPS OS : Ubuntu 20.04, VPS/KVM/768MB
  • VPS Provider: RackNerd
@dallae
Copy link

dallae commented Jul 12, 2024

hey, I had similar-ish experience at about the same spot. My error was a bit different.

TASK [ssh : Generate an SSH key pair] **********************************************************************************
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: cryptography.exceptions.UnsupportedAlgorithm: Need bcrypt module
fatal: [localhost]: FAILED! => changed=false
msg: 'unexpected error occurred: Need bcrypt module'

PLAY RECAP *************************************************************************************************************
localhost : ok=54 changed=8 unreachable=0 failed=1 skipped=23 rescued=0 ignored=0

++++++++++++++++++++++

try doing
sudo apt-get install python3-bcrypt
once to see if it resolves it for you, worked for me both for google vm as well as oracle oci.

strictly going by your error, I'd do this first
sudo apt-cache policy openssh-server
and then
pip show cryptography

if openssh-server is not found or cryptography is not found I'd do as below.
sudo apt update
sudo apt install openssh-server
sudo pip install cryptography

and then try again.. hope something sticks.

@BigB2024
Copy link
Author

Hi Dallae,
Thanks for your note, I was able to fix the installation error by stopping all the related services to the docker, but the first issue still exists
In FAQ section, Wolfgang recommended to change the wireguard_port in custom.yml, but it messes up ansible-easy-vpn, totally. There must be some other places which needs the port to be chnaged beside only custom.yml. I have not figured it out, nor there is respopse from Wolggang yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants