Reply
Highlighted
L1 Bithead

Configuring IPSEC VPN using API

Can someone help with ideas on how to configure a VPN via API?

Highlighted
L0 Member

Re: Configuring IPSEC VPN using API

L7 Applicator

Re: Configuring IPSEC VPN using API

@hchavunduka,

What exactly are you having troubles with? You can use the API-Browser available at https://<firewall-ip>/api to actually go through and figure out the xpath for what you want to modify; that along with the documentation that @emyl79 linked to should get you pointed in the right direction. 

 

 

Highlighted
L1 Bithead

Re: Configuring IPSEC VPN using API

@BPry thank you for the pointers. Why is it that when you issue a command for config audit on running config and candidate config the versions are identical?

https://1.1.1.1/api/?type=config&action=get&xpath=/config/devices/entry\[@name='localhost.localdomain
'\]/network/ike/gateway/entry\[@name='gcp-creative-to-colo-api'\]/peer-address/ip/member\[@name='102.188.204.236'\]"

 

Highlighted
L1 Bithead

Re: Configuring IPSEC VPN using API

@emyl79 thank you!

Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the Live Community as a whole!

The Live Community thanks you for your participation!