audit remotehost add

Add an identified Remote Logging Server.

NOTE   Using Luna Appliance Software 7.8.5 or newer, you have the option to choose tls for security when transferring audit logs to a remote logging server.

User Privileges

Only specialized Audit users can access audit commands.

Syntax

audit remotehost add -host <hostnameoripaddress> [-protocol <protocol>] [-port <port>] [-mode <authmode>] [-name <commonname>] [-tls]

Argument(s) Shortcut Description
-host <hostnameoripaddress> -h Specifies the Remote Logging Server Host Name or IP address.
-mode <authmode> -m

Authentication mode. This option requires Luna Appliance Software 7.8.5 or newer.

Valid values: server,mutual

Default: server

-name <hostcommonname> -n Specifies the Remote Logging Server common name. This option requires Luna Appliance Software 7.8.5 or newer.
-port <port> -po

Specifies the server port to use for the Remote Logging Server.

Range: 0 to 65535

Default: 514

-protocol <protocol> -pr

Specifies the protocol for remote logging with the specified server.

Valid values: tcp,udp,relp

Default: udp

The -name option is required when the protocol is relp.

-tls -t

Setup host with TLS. Not used with udp protocol. This option requires Luna Appliance Software 7.8.5 or newer.

Example

lunash:>audit remotehost add -host 192.20.11.64

Stopping syslog:                                           [  OK  ]

Starting syslog:                                           [  OK  ]
iptables: Saving firewall rules to /etc/sysconfig/iptables:[  OK  ]

Command Result : 0 (Success)

Example using Luna Appliance Software 7.8.5 or newer

lunash:>audit remotehost add -host 192.20.11.64 -protocol tcp -port 54 -mode server -tls

Stopping syslog:                                           [  OK  ]

Starting syslog:                                           [  OK  ]
iptables: Saving firewall rules to /etc/sysconfig/iptables:[  OK  ]

Command Result : 0 (Success)