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

fatal: [<my-server-ip>]: UNREACHABLE! => #22

Open
alexlii1971 opened this issue Mar 12, 2021 · 0 comments
Open

fatal: [<my-server-ip>]: UNREACHABLE! => #22

alexlii1971 opened this issue Mar 12, 2021 · 0 comments

Comments

@alexlii1971
Copy link

alexlii1971 commented Mar 12, 2021

Hello,

Two question:

1#fatal:
On ubuntu, I install it on Linode server with SSH shell by following installation tutorial at https://github.com/iamckn/wireguard_ansible#quick-setup


Edit the hosts file in that folder and fill in the IP field with the VPN server IP

Begin the remote installation process by running

ansible-playbook wireguard.yml -u root -k -i hosts

before running command ansible-playbook wireguard.yml -u root -k -i hosts, I did input server ip in hosts file under directory of /wireguard_ansible, bu there is fatal error as below, and I replace real ip with my-server-ip:

`fatal: []: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: ssh: Could not resolve hostname : Name or service not known", "unreachable": true}

PLAY RECAP *********************************************************************
: ok=0 changed=0 unreachable=1 failed=0 skipped=0 rescued=0 ignored=0 `

or check the screenshot please: https://prnt.sc/10jn88k
what did I missed please?

2# Prevent DNS leak
By the way, after wireguard_ansible installation, do I still need configure to prevent DNS leaking as tutorial at https://www.ckn.io/blog/2017/11/14/wireguard-vpn-typical-setup/

Thanks

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

1 participant