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

Forcing IPv4 #419

Closed
derydemas opened this issue Aug 28, 2024 · 3 comments
Closed

Forcing IPv4 #419

derydemas opened this issue Aug 28, 2024 · 3 comments

Comments

@derydemas
Copy link

I used wgcf to generate config for my TP-Link router, but when I try to import the config to the router, it says the IPv6 address is invalid because it is expecting an IPv4 address.
Is there a way to force wgcf to use IPv4 instead of IPv6?

@ViRb3
Copy link
Owner

ViRb3 commented Aug 28, 2024

Could this be a duplicate of #418?

@derydemas
Copy link
Author

It is indeed similar to that issue. I searched for duplicate issues before opening mine but didn't see #418 for some reason. However, I still get the "Invalid format" error even when I put both IPv4 and IPv6 addresses on one line. It seems my router's Wireguard config just doesn't support IPv6 addresses.
I was able to get around the error by deleting the IPv6 address lines (Address and AllowedIPs).
Thanks!

@ViRb3
Copy link
Owner

ViRb3 commented Oct 20, 2024

Got it, will close then since this isn't a problem with wgcf.

@ViRb3 ViRb3 closed this as completed Oct 20, 2024
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

2 participants