Digi LR54 User Manual page 48

Hide thumbs Also See for LR54:
Table of Contents

Advertisement

Firmware configuration
where path is the path to the list item, including the list number, in dot notation (for example,
service.ssh.acl.zone.4).
For example, to remove the external firewall zone to the ssh service:
1. Use the GET method to determine the SSH service's list number for the external zone:
$ curl -k -u admin "https://192.168.210.1/cgi-
bin/config.cgi/value?path=service/ssh/acl/zone -X GET
{
"ok": true,
"result": {
,
"0": "internal"
,
"1": "edge"
,
"2": "ipsec"
,
"3": "setup"
,
"4": "external"
}
}
$
2. Use the DELETE method to remove the external zone (list item 4).
$ curl -k -u admin https://192.168.210.1/cgi-
bin/config.cgi/value?path=service.ssh.acl.zone.4 -X DELETE
Enter host password for user 'admin':
{ "ok": true }
$
LR54 User Guide
Use the local REST API to configure the LR54 device
"type": "array",
"path": "service.ssh.acl.zone"
"collapsed": {
}
48

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tx64

Table of Contents