Question: how to add new peer to WireGuard VPN via API

Question: how to add new peer to WireGuard VPN via API

Question: how to add new peer to WireGuard VPN via API
Question: how to add new peer to WireGuard VPN via API
a week ago
Hardware Version:
Firmware Version: 6.2.0.15

hi all,

 

i have a question: how can I add neww / edit peer for WireGuard VPN?

 

 

/BR ZoloNN ----------------------------------------------------------------------- Omada 2x ER605(UN) v2.0 + SG2008P(UN) V3.20 + SG2218 V1.20 + 2x SG2008 V4.20 + 3x EAP615-Wall(EU) V1.0 CET (GMT+1)
  0      
  0      
#1
Options
6 Reply
Re:Question: how to add new peer to WireGuard VPN via API
a week ago

Hi  @ZoloNN 

You may refer to the following guide: How to configure Wireguard VPN on Omada Gateway

Best Regards! >> Omada EAP Firmware Trial Available Here << >> Get the Latest Omada SDN Controller Releases Here << *Try filtering posts on each forum by Label of [Early Access]*
  0  
  0  
#2
Options
Re:Question: how to add new peer to WireGuard VPN via API
a week ago

Hi @Hank21,

 

sorry, but you probably missed the important "via API" part of my question...

 

/BR ZoloNN ----------------------------------------------------------------------- Omada 2x ER605(UN) v2.0 + SG2008P(UN) V3.20 + SG2218 V1.20 + 2x SG2008 V4.20 + 3x EAP615-Wall(EU) V1.0 CET (GMT+1)
  0  
  0  
#3
Options
Re:Question: how to add new peer to WireGuard VPN via API
a week ago

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.

Best Regards! >> Omada EAP Firmware Trial Available Here << >> Get the Latest Omada SDN Controller Releases Here << *Try filtering posts on each forum by Label of [Early Access]*
  0  
  0  
#4
Options
Re:Question: how to add new peer to WireGuard VPN via API
a week ago

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"......

 

/BR ZoloNN ----------------------------------------------------------------------- Omada 2x ER605(UN) v2.0 + SG2008P(UN) V3.20 + SG2218 V1.20 + 2x SG2008 V4.20 + 3x EAP615-Wall(EU) V1.0 CET (GMT+1)
  0  
  0  
#5
Options
Re:Question: how to add new peer to WireGuard VPN via API
a week ago

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.

Best Regards! >> Omada EAP Firmware Trial Available Here << >> Get the Latest Omada SDN Controller Releases Here << *Try filtering posts on each forum by Label of [Early Access]*
  0  
  0  
#6
Options
Re:Question: how to add new peer to WireGuard VPN via API
Monday

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.....

template

 

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?

deprecated

 

 

/BR ZoloNN ----------------------------------------------------------------------- Omada 2x ER605(UN) v2.0 + SG2008P(UN) V3.20 + SG2218 V1.20 + 2x SG2008 V4.20 + 3x EAP615-Wall(EU) V1.0 CET (GMT+1)
  0  
  0  
#7
Options