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

Easier way to put keys in wg.def #22

Open
rahimnathwani opened this issue Apr 13, 2019 · 1 comment
Open

Easier way to put keys in wg.def #22

rahimnathwani opened this issue Apr 13, 2019 · 1 comment

Comments

@rahimnathwani
Copy link

The instructions on this wiki page require the user to copy and paste the keys into wg.def

Instead, they can just pipe them straight into that file:

echo _SERVER_PRIVATE_KEY=`wg genkey | tee server_private_key` >> wg.def
echo _SERVER_PUBLIC_KEY=`cat server_private_key|wg pubkey` >> wg.def
@rozzersa
Copy link

thanks @rahimnathwani

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