Score:1

Wireguard VPN not making handshake

vu flag

I'm facing a trouble, I have a server with Wireguard configured, with the keys generated by wg command line. I've downloaded Wireguard for windows and put the public's server key on client peer, and public's cliente key on server Peer section. Mu doubt is: is the client be configured to access server Endpoint external IP? I tried point to external and internal (LAN) IP from client, but no way it works. I am using VirtualBox with this schemme:

Server: 1 nic - mode NAT; 1 nic - wg0 (wireguard) Client windows 10: 1 nic - wg0 (wireguard). Does not have any other nic. It can be a problem?

my schemme

vidarlo avatar
ar flag
If your client can't reach your server, how do you expect WG to work?
Fabricio Franco avatar
vu flag
@vidarlo I dont know why not. Both have internal interfaces at the same network.
SzakiLaci avatar
lv flag
@FabricioFranco For me the problem was: the wrong Debian firewall config. After turning off the firewall (for test) the handshake error disappeared. There is a great auto-setup-script [here...](https://gitlab.com/snax44/wireguard-ui-setup) where you may analyse the `.sh` file for necessary `iptable` config commands.
SzakiLaci avatar
lv flag
@FabricioFranco Also I think setting NAT for VirtualBox makes it impossible to reach it as a server. You should at least set VB to "bridged" mode and route that IP from your own subnet to the router's outside port. Alternatively You may use a tiny separate hardware for that, like a RPi, instead if complicating with VB.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.