Is it possible to create Port Mapping Instance already setting the values through the API (NBI)?
Example:
InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.1.PortMapping.[PortMappingProtocol:TCP,ExternalPort:36,InternalClient:192.168.1.56,InternalPort:36,PortMappingEnabled:1,PortMappingDescription:ababba]
This works in the script by Genie, but through the NBI/API with AddObject I couldn’t, could someone help me?
{
“name”: “addObject”,
“objectName”: [
“InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.1.PortMapping.[PortMappingProtocol:TCP,ExternalPort:36,InternalClient:192.168.1.56,InternalPort:36,PortMappingEnabled:1,PortMappingDescription:ababba]”
]
}