-
Notifications
You must be signed in to change notification settings - Fork 37
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
Docker client and server on host #44
Comments
The provided output doesn't seem to match what you put in your That error means there's a networking issue between the wiretap client and host, which can be caused by just about anything. I would start by testing that the server container can properly communicate with the client container on 51820, such as by running The only thing you should need to worry about exposing/binding in this setup is the 51820 port on the client container in such a way that the server container can talk to it. |
Thanks for getting back to me. I super appreciate it! I updated the files to the new releases (v 0.4.4) and I removed the extra ports (so the client is only running on the 51820). Additionally when I setup the docker image for the client I allow udp connections on the port. Good point, once it is running I can re-up them which will change the keys, so will include all of the info here to help with debugging When I ran the command this was the output of the conf files
After running the ./wiretap serve on the server I got this
Now when I went back to the client for the
and the
Hopefully this helps. Again, super appreciate your insight here. |
Wiretap uses the 172.16/16, 172.17/16, 172.18/16, and 172.19/16 subnets internally. Trying to use any IPs from those ranges within your |
Thanks, I have tried re-routing the docker to run instead on \24
The server now runs on I ran this configure command
and these were the outputs of the
Should I have configured it a different way? Or do you think that this is a problem with docker somehow? From the server side I have also tried |
Looks like the initial wireguard handshake still isn't completing. When that handshake succeeds you should see a line like "Last Handshake: X seconds ago" under the
|
Oh good catch on the endpoint! I totally missed that. This solved the issue and it is handshaking and the |
I've been trying to setup wiretap and have been having some difficulty. I am trying to make the main client a docker image and the server a separate docker image that both run on the host. However, I seem to be receiving this error
./wiretap status 2024/07/31 14:19:23 failed to fetch node's configuration as peer: Get "http://::2:80/serverinfo?": dial tcp [::2]:80: i/o timeout
Should I be binding something to run within my docker server on this port in order to make it work?
Currently, I have binded ports 51820 & 51821 for the docker client & binded port 8080 for the server. I download the binaries for the shells and run them in the build.
For background here are some of the outputs I am getting when backtracing my steps:
Client:
./wiretap configure --endpoint *.17.0.0:51820 --routes *.17.0.0/16,fd:2::/64
output:
and then after the serve on the server side, the wg show is
If you have any advice on this I would super appreciate it.
The text was updated successfully, but these errors were encountered: