List all config options/Wireguard documentation

So I wanted to change something in my Wireguard settings and I wanted to basically see the manual, or just a list of all possible configuration options (and their names!) for Wireguard. I could not find it, https://openwrt.org/docs/guide-user/services/vpn/wireguard/start is very much tutorial based.

I think such a list used to be standard on the wiki. But do I understand it now correctly that it would need to be compiled by somebody first? And is there a way to list possible options name in UCI or you just need to know/find it scattered somewhere? I feel like I am missing something obvious, but I really could not find it.

I'm not sure if there's all that much config to it. Have a look at the the code from wireguard-tools. Here's the network config:

and here's one for a peer:

You can have a look around to see if anything else is missing. And feel free to improve the documentation if you're up for it.

1 Like

Well, I would add the link posted on post after your to the wiki page I linked, so I would put this string:

[[:docs/guide-user/network/tunneling_interface_protocols#protocol_wireguard_wireguard_vpn|Wireguard options documentation]]

to https://openwrt.org/docs/guide-user/services/vpn/wireguard/start but I lack the priviledges to do so :-(.

I just wanted to know what the proper names of the options were, as my mingled config files had two versions of it and I was not sure which was the correct one. That section of documentation is very unsearchable (I tried, wrongly thinking "wireguard" would be a good keyword).

You can apply for a Wiki account here:

I have an account (I log in with GitHub), I have edited wiki in the past. I think this is a special autogenerated page, that is why I cannot edit it. Can you? For me the green "save" button is unclickable.

I don't have a Wiki account at the moment.

I see. It is weird, I seem not to be able to edit anywhere, yet it was working a few months ago (I think I edited a typo a week ago too). Not that I was able to find out how to list my list of contributions :-).

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.