2.1.5. Working with Configurations
Editing a Configuration Object
When you need to modify the behavior of NetDefendOS, you will most likely need to modify one or
several configuration objects.
Example 2.5. Editing a Configuration Object
This example shows how to edit the Comments property of the telnet service.
CLI
gw-world:/> set Service ServiceTCPUDP telnet Comments="Modified Comment"
Show the object again to verify the new property value:
gw-world:/> show Service ServiceTCPUDP telnet
Property
-----------------
DestinationPorts:
SourcePorts:
SYNRelay:
PassICMPReturn:
MaxSessions:
Comments:
Web Interface
1.
Go to Objects > Services
2.
Click on the telnet hyperlink in the list
3.
In the Comments textbox, enter your new comment
4.
Click OK
Verify that the new comment has been updated in the list.
Adding a Configuration Object
Example 2.6. Adding a Configuration Object
This example shows how to add a new IP4Address object, here using the IP address 192.168.10.10, to the Ad-
Note
When accessing object via the CLI you can omit the category name and just use the
type name. The CLI command in the above example, for instance, could be simplified
to:
gw-world:/> show ServiceTCPUDP telnet
Important
Changes to a configuration object will not be applied to a running system until you ac-
tivate and commit the changes.
Value
-------
Name:
telnet
23
Type:
TCP
0-65535
No
No
ALG:
(none)
1000
Modified Comment
Chapter 2. Operations and Maintenance
17