-
-
Notifications
You must be signed in to change notification settings - Fork 317
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
How to assign public IPs to peers. #32
Comments
What's the final ideal path you're trying to achieve?
or something else? Unfortunately I don't know anything about IPv6 <-> IPv4 translation yet, so I don't know if I can be of any help. But maybe try posting the |
The ideal path is pretty much what you mentioned:
The destination server only connects to the internet and Wireguard via IPv4, but wg0 would have IPv6 addresses, so it should work. I don't think IPv4 to IPv6 translation is a problem I need to worry about, Wireguard handles that. Here's my relevant ifconfig output of wg0 on the destination server:
Note: From the destination server, I can connect to the IPv6 internet, the problem is it connects via my VPS's public IP. test-ipv6.com works, but my IP shows up as SSHing into the destination server works from any other peer on wireguard, and the VPS. It does not work from the outside world. It appears wireguard is setting up a local network (like 192.168.1.1/24) but using global IPs, but never exposing them to the outside world.
Thanks again for your help! |
Hello, I got this works recently, you can check out my script https://github.com/finzzz/wgzero (use Full Routing option) |
I am trying to use wireguard to assign public IPv6 addresses to my peers, so that I can ssh into them from anywhere. I currently have a setup working on a VPS which works with both IPv4 and IPv6, but it seems to NAT outbound traffic, so I cannot ssh into a specific peer.
My current config is as follows:
Server:
Client:
I've been stuck on this all weekend and not sure how to proceed. Let me know if there is a better place to ask this question. So far the most helpful thing I found were these docs 👍
Thanks!
The text was updated successfully, but these errors were encountered: