Hello!
I have XG-210 with SFOS 17.5.15 MR-15 (LAN IP: 10.20.1.254/16)
I have a Linux Test PC (10.20.6.5/16)
I configure System -> Backup & Firmware - >API (Allowed IP Address) with Linux Test PC: 10.20..6.5
I have a "IP list" name "IP-Blacklist" defined in Host and services
I need to add some IP to this list via API Call.
I setup this test-api.xml:
<Request>
<Login>
<Username>admin</Username>
<Password>FwPassword</Password>
</Login>
<Set>
<IPHost>
<Name>IP-Blacklist</Name>
<HostType>IPList</HostType>
<ListOfIPAddresses>192.168.222.125,192.168.222.134</ListOfIPAddresses>
</IPHost>
</Set>
</Request>
and when i run the command:
curl -k 10.20.1.254:4444/webconsole/APIController -F "reqxml=<test-api.xml" from Linux Test PC (10.20.6.5), the firewall return me:
<?xml version="1.0" encoding="UTF-8"?>
<Response>
<Status code="529">Input request file is Invalid</Status>
</Response>
Why??? where am I wrong?
Thanks!
This thread was automatically locked due to age.