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

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

11 Reply
Re:Question: how to add new peer to WireGuard VPN via API
Yesterday

Hi @Vincent-TP,

 

it seems, there is still a small misunderstanding regarding my question...

  • I know exactly how to create WireGuard site2site VPN - I have replaced the unstable SD-WAN with WireGuard, which is very stable
  • I have currently two WireGuard VPNs configured per site:
    • one site2site as SD-WAN replacement
    • second one for mobile client access
  • I'm trying to add new peer to existing WireGuard via API (to the second one - for mobile clients) using "Modify site-to-site VPN by manual" API call - that's where I still have problems to pass parameters in correct format - always getting 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  
#12
Options