wireguard-docs icon indicating copy to clipboard operation
wireguard-docs copied to clipboard

Mark config keys that are available with wg-quick only

Open OJFord opened this issue 6 years ago • 4 comments

DNS and Address for example are only valid config items when using the wg-quick tool, IMO it would be good to distinguish these and any others, just a brief:

[wg-quick only]

marker, perhaps linking to a section that explains.

OJFord avatar Sep 01 '19 11:09 OJFord

Sure, although I'm surprised anyone uses raw wg tbh, wg-quick has always seemed like the primary user-facing CLI to me.

pirate avatar Sep 11 '19 16:09 pirate

Depends on use case I suppose, if you're using it as a client(s) - server VPN for privacy or whatever wg-quick is probably great. For networking many servers though you might prefer to use systemd (supports WireGuard netdevs as of v241 as I recall, better support in 243) or similar file-based config.

OJFord avatar Sep 11 '19 18:09 OJFord

I just checked and wg-quick handles a superset of wg's file-based config features. I use it for my server-to-server VPN, not for privacy, and have never felt the need to drop down to raw wg. I remain unconvinced that anyone should start by using wg directly unless they already know what they're doing (in which case they don't need these docs anyway), but I still think labeling them better is harmless so I'll leave this issue open.

pirate avatar Jul 02 '20 01:07 pirate