add server

Description

Adds a new server object. Server object are a way to define a network host object with its access and NAT configuration, instead of creating manual rules for it.

Syntax

add server name <name> ipv4-address <ipv4-address> [ dhcp-exclude-ip-addr { on [ dhcp-reserve-ip-addr-to-mac { on mac-addr <mac-addr> | off } ] | off } ] [ comments <comments> ] [ dns-resolving <dns-resolving> ] type { web-server | ftp-server | citrix-server | pptp-server | mail-server | dns-server | custom-server [ tcpProtocol <tcpProtocol> [ tcp-ports <tcp-ports> ] udpProtocol <udpProtocol> [ udp-ports <udp-ports> ] ] }

Parameters

Parameter

Description

comments

Comments

Type: A string that contains less than 257 characters, of this set: 0-9, a-z or , . - : () @

dhcp-exclude-ip-addr

Indicates if the internal DHCP service will not distribute the configured IP address of this server/network object to anyone

Type: Press TAB to see available options

dhcp-reserve-ip-addr-to-mac

Indicates if the internal DHCP service will distribute the configured IP address only to this server/network object according to its MAC address

Type: Press TAB to see available options

dns-resolving

Indicates if the name of the server/network object will be used as a hostname for internal DNS service

Type: Boolean (true/false)

ipv4-address

The beginning of the IP range

mac-addr

MAC address of the server

Type: MAC address

name

Server object name

Type: A string that begins with a letter and contain up to 32 alphanumeric (0-9, a-z, _ - .) characters without spaces

tcp-ports

TCP ports for server of type 'other'

Type: Port range

tcpProtocol

tcpProtocol

Type: Boolean (true/false)

udp-ports

UDP ports for server of type 'other'

Type: Port range

udpProtocol

udpProtocol

Type: Boolean (true/false)

Example

add server name myObject_17 ipv4-address 192.168.1.1 dhcp-exclude-ip-addr on dhcp-reserve-ip-addr-to-mac on mac-addr 00:1C:7F:21:05:BE comments "This is a comment." dns-resolving true type web-server