Implementation of cli-based UPnP config closes #1678