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
Hi @ZoloNN
Please try to download the 6.2 Omada Software Controller and try to use it buili-in OpenAPI for the Wiregurad peer feature:
https://community.tp-link.com/en/business/forum/topic/857494
- Copy Link
- Report Inappropriate Content
Hi @Hank21,
just to summarize:
- I already use Windows based Controller version 6.2.0.15 (as seen in properties of my first post)
- opening API docu via Global -> Settings -> Platform Intergration -> Online API Document the whole WireGuard section is marked deprecated (as seen on screenshot in my previous post)
- there is recommended to use the "Modify site-to-site VPN by manual" call, but I'm struggling to use this call to add peer to existing VPN - my every try to modify the existing record ends with error "-1001 Invalid request parameters"......
- opening alternative API docu via link provided by you shows blank template page for Site Settings (as seen on screenshot in my previous post)
my questions are:
- are the WireGuard API calls really deprecated?
- if yes, where can I find more detailed description how to modify (add new peer) VPN record via "Modify site-to-site VPN by manual" call?
- why is the page for Site Settings in alternative docu blank (template only)?
- Copy Link
- Report Inappropriate Content
Information
Helpful: 0
Views: 259
Replies: 8
Voters 0
No one has voted for it yet.
