How to call the getparametervalues and setparametervalues methods when cpe is behind nat?

https://forum.genieacs.com/t/acs-through-nat/2488
a similar discussion above, mentioned " This is only possible over the API. "