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

Add more information to the wireguard interface definition #9073

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

nate-moo
Copy link

Pull Request

What? (description)

Modified the reference to the wireguard configuration options to include the interface description.

Why? (reasoning)

The configuration implied to me that you didn't need to create an interface, but you do. In order to fix that I had to look at the other wireguard documentation to see that. In my eyes this will help be more clear on the creation of wireguard interfaces.

Acceptance

Please use the following checklist:

  • you linked an issue (if applicable)
  • you included tests (if applicable)
  • you ran conformance (make conformance)
  • you formatted your code (make fmt)
  • you linted your code (make lint)
  • you generated documentation (make docs)
  • you ran unit-tests (make unit-tests)

See make help for a description of the available targets.

When setting up Wireguard the provided reference documentation on it was incomplete in my opinion, and I believe this change would help make configuring it for new users easier

Signed-off-by: naed3r <[email protected]>
@nate-moo nate-moo marked this pull request as ready for review July 27, 2024 02:18
# AllowedIPs specifies a list of allowed IP addresses in CIDR notation for this peer.
allowedIPs:
- 192.168.1.0/24
- interface: wg0 # Name of the wireguard interface
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is a good change, but this part of the documentation is automatically generated, so we'd need to figure out how to incorporate that into the doc generator (and probably in other similar places)

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

Successfully merging this pull request may close these issues.

2 participants