-
Notifications
You must be signed in to change notification settings - Fork 6
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
Document #7 and add preshared key functionality #10
base: master
Are you sure you want to change the base?
Conversation
I don't think I understand the following:
Is this saying that the systemd config given for Transmission Daemon doesn't use the |
Correct. I tried it by simply making a unit that cat's those two files while joining the netns and indeed they aren't used. The reason I don't think that's a bug is because if it were, it'd be one on systemd's end, which I don't really applies here. The reason is that Now it does all still work if you just... don't use DNS. Or just globally don't use systemd-resolved and the like. Hence my suggesting just to document it. |
wg set "$WIREGUARD_NAME" \ | ||
private-key <(echo "$WIREGUARD_PRIVATE_KEY") \ | ||
peer "$WIREGUARD_VPN_PUBLIC_KEY" \ | ||
preshared-key <(echo "$WIREGUARD_VPN_PRESHARED_KEY") \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be indented like the other peer properties are
Preshared keys are used by default by some VPN providers, so this may be useful.
So far I only added a documentation note about #7, but potentially that functionality could be removed entirely as suggested there.
I also added a note about the possibility of routing things into the VPN namespace from the rest of the local network using iptables.