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

Second run of setup.sh breaks everything #44

Open
failinghobbyist opened this issue Jun 1, 2021 · 2 comments
Open

Second run of setup.sh breaks everything #44

failinghobbyist opened this issue Jun 1, 2021 · 2 comments

Comments

@failinghobbyist
Copy link

Thanks for the guide! Running through it once and generating the first key is very smooth. Using a phone with the first QR code works, and modding to go full tunnel works fine.

As soon as I run setup for a second time to generate another key, the first client dies. It appears to connect, but can't reach either the pi hole admin console or the internet.

What am I doing wrong? I notice during the second setup run that its trying to assign the same client IP again (10.66.66.2) which seems like a problem.

Is there a way to blank the wg config so that I don't have to spin up a new VM every time I start over?

Thanks again for the help, enjoyed learning through your guide!

@chicocheco
Copy link

Are you sure that the qr code you are scanning is not the same as the first one?

@LloydGSR
Copy link

LloydGSR commented Aug 7, 2021

I had the same issue. Generating a second profile was overwriting the first and would make the QR code substantially larger, increasing in size each time a client was added.

To get around it, when running the script again, it'd offer 10.66.66.2 again, so I just removed the 2 and typed 3. I did the same for the IPv6 address.

The resulting profile had both the .2 and the .3 addresses for the client, so I just removed the .2 stuff and it worked. I very much doubt this is a proper way of doing it, but it worked.

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

3 participants