Hi all! Trying to create and VPN tunnel with the XML-api , but I am not clever enough Below is working fine, I can create the Tunnel and do almost all settings.... wget -O dum1.txt --no-check-certificate " https://192.168.3.114/api/?type=config&key=%palokey%&action=set&xpath=/config/devices/entry[@name='localhost.localdomain']/network/tunnel/ipsec/entry[@name='StaffanTunnel']&element= <auto-key><ipsec-crypto-profile>Staffan</ipsec-crypto-profile></auto-key><tunnel-monitor><enable>no</enable></tunnel-monitor><anti-replay>yes</anti-replay><copy-tos>no</copy-tos><tunnel-interface>tunnel</tunnel-interface>" Here I am failing, when trying to set the IKE gw for the tunnel, what is wrong with the syntax?? (tried a lot of different things, this is just one example) Want in the end to do everything in one request if possible, but have split the XML:s now to easier do troubleshooting. wget -O dum1.txt --no-check-certificate " https://192.168.3.114/api/?type=config&key=%palokey%&action=edit&xpath=/config/devices/entry[@name='localhost.localdomain']/network/tunnel/ipsec/entry[@name='StaffanTunnel']/auto-key/ike-gateway/entry[@name='StaffanGW']/ " Output error is in this example: <response status="error" code="12"><msg><line>Invalid target object in edit handler</line></msg></response> Running version 5.0.2 on VMware, production later on will be PA-5050s Regards Staffan
... View more