API

curl -v -k -XPOST https://mabbox.bytel.fr/api/v1/login  --data-urlencode "password=lepassword" -c /tmp/cookie
  curl -k -b /tmp/cookie https://mabbox.bytel.fr/api/v1/map  
  curl -k -b /tmp/cookie https://mabbox.bytel.fr/api/v1/wan/sfp
  curl -b /tmp/cookie -XPOST https://mabbox.bytel.fr/api/v1/nat/rules -d "description=test" -d "enable=1" -d "ipprotocol=tcp"  -d "ipaddress=192.168.1.10" -d "external_port=12345" -d "internal_port=22" -d "protocol=tcp"
/usr/bin/curl -k -b /tmp/cookie https://mabbox.bytel.fr/api/v1/nat/rules
  /usr/bin/curl -k -b  /tmp/cookie -XDELETE https://mabbox.bytel.fr/api/v1/nat/rules/48183