Skip to content
dapplion edited this page Jul 24, 2018 · 3 revisions

Extended documentation to the DNP_VPN

Crossbar calls

Reply specifications

The response is a stringified object always contains three keys:

{
  success: true / false
  message: 'Error: package not found'
  result: <object, array or string>
}

VPN procedures

domain: <event>.vpn.dnp.dappnode.eth
event kwargs result
addDevice id {}
removeDevice id {}
toggleAdmin id {}
listDevices - [{ deviceObject }]
getParams - {param: paramValue, ...}
statusUPnP - {openPorts, UPnP, msg}
statusExternalIp - {externalIpResolves, attempts, INT_IP, EXT_IP}

deviceObject

{
    name: 'string',
    password: 'string',
    ip: 'string'
}
Clone this wiki locally