To my knowledge you can’t make get call with NAT on a Unity system.All actions that can be done can be found in the Unisphere® Management REST API Programmer's Guide.
Hello, Rest API is session based. The question is if your firewall keeps the rsat api session open. DId you test the connection with simple curl commands ?
DELL-Sam L
Moderator
•
7.8K Posts
0
March 29th, 2023 04:00
Hello storagemanagement,
To my knowledge you can’t make get call with NAT on a Unity system. All actions that can be done can be found in the Unisphere® Management REST API Programmer's Guide.
https://dell.to/3ZoFZF4
rewalmilo
1 Rookie
•
62 Posts
0
March 29th, 2023 23:00
Hello, Rest API is session based. The question is if your firewall keeps the rsat api session open. DId you test the connection with simple curl commands ?
https://www.dell.com/support/kbdoc/en-us/000009634/unity-how-to-use-curl-to-interact-with-unity-rest-api-user-correctable
storagemanagement
2 Posts
0
March 30th, 2023 06:00
Hello rewalmilo,
thank you for the suggestion, making a curl call the Unity answer with a:
403 Forbidden
Untrusted hostname
We tried to pass the hostname as a header, as suggested searching on google, the error changed to:
Could not resolve host: spb
Do you know what hostname the storage wants (we've already tried with the "real" hostname)? Or if it is possible to list accepted hostnames?
Thank you.
rewalmilo
1 Rookie
•
62 Posts
0
April 4th, 2023 01:00
Ok. when you issue the command. there should be route to the unity which can be resolved. I never tried rest api with port forwarding.