Question: how to add new peer to WireGuard VPN via API
hi all,
i have a question: how can I add neww / edit peer for WireGuard VPN?
- Copy Link
- Subscribe
- Bookmark
- Report Inappropriate Content
Hi @ZoloNN
You may refer to the following guide: How to configure Wireguard VPN on Omada Gateway
- Copy Link
- Report Inappropriate Content
- Copy Link
- Report Inappropriate Content
Hi @ZoloNN
Sorry for the missing.
You may login your Controller and find the OpenAPI entrance under Global View>Settings>Platform Integration. With that, you can try to search something about the peer of Wireguard VPN.
- Copy Link
- Report Inappropriate Content
Hi @Hank21,
yes, I know the documentation page.
There is a section called "WireGuard" and there is a call called "Create new wireguard peer" but the whole section is currently deprecated.
According the docu the replacement should be the "Modify site-to-site VPN by manual", but in the description there isn't anything about modifying only the peer list.
My every try to modify the existing record ends with error "-1001 Invalid request parameters"......
- Copy Link
- Report Inappropriate Content
Hi @ZoloNN
You can refer to this link: Omada Open Api
The wireguard VPN option is moved to site settings, so you can try to add the peer from that entrance.
- Copy Link
- Report Inappropriate Content
Hi @Hank21,
I've tried your link - under assumption that "Released Versions" are referring to Controller version I run into strange problem:
If I go to "6.2.0" version and I try to open the 04 Site Setting.html, it opens only a page template which isn't populated. Other pages are working fine.....

And while accessing the API docs via "Platform Integration" the whole WireGuard section (except key generation call) is marked as deprecated - is it really true?

- Copy Link
- Report Inappropriate Content
Information
Helpful: 0
Views: 233
Replies: 6
Voters 0
No one has voted for it yet.
