add server

Description

Adds a new server object.

Server objects 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 {true | false} ] type { web-server | ftp-server | citrix-server | pptp-server | mail-server | dns-server | custom-server [ tcpProtocol {true | false} [ tcp-ports <tcp-ports> ] udpProtocol {true | false} [ udp-ports <udp-ports> ] ] }

Parameters

Parameter

Description

name

Server object name.

A string that begins with a letter and contain up to 32 characters without spaces, of this set:

  • a-z (lower-case letters)

  • A-Z (upper-case letters)

  • 0-9 (digits)

  • '.' (period)

  • '-' (minus)

  • '_' (underscore)

comments

Configures the comment text.

A string that contains less than 257 characters, of this set:

  • a-z (lower-case letters)

  • A-Z (upper-case letters)

  • 0-9 (digits)

  • ',' (comma)

  • '.' (period)

  • '-' (minus)

  • '(' (opening round bracket)

  • ')' (closing round bracket)

  • ':' (colon)

  • '@' (at)

dhcp-exclude-ip-addr

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

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

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

ipv4-address

The beginning of the IP range

mac-addr

MAC address of the server

tcp-ports

Range of TCP ports for the server of type 'other'

tcpProtocol

This is a TCP-based protocol

udp-ports

Range of UDP ports for the server of type 'other'

udpProtocol

This is a UDP-based protocol

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