Firewall
Command line
1. Select the device in Remote Manager and click Actions > Open Console, or log into the LR54
local command line as a user with full Admin access rights.
Depending on your device configuration, you may be presented with an Access selection
menu. Type admin to access the Admin CLI.
2. At the command line, type config to enter configuration mode:
> config
(config)>
3. Enable custom firewall rules:
(config)> firewall custom enable true
(config)>
4. (Optional) Instruct the device to override all preconfigured firewall behavior and rely solely on
the custom firewall rules:
(config)> firewall custom override true
(config)>
5. Set the shell command that will execute the custom firewall rules script:
(config)> firewall custom rules "shell-command"
(config)>
6. Save the configuration and apply the change:
(config)> save
Configuration saved.
>
7. Type exit to exit the Admin CLI.
Depending on your device configuration, you may be presented with an Access selection
menu. Type quit to disconnect from the device.
LR54 User Guide
Configure custom firewall rules
870