Jump to:navigation, search
Wiki


















































De.png
En.png
Fr.png

service

Using the CLI command service on the UTM


New:

  • Syntax correction Command service group new



Last adaption: 07.2020


Command Description Example
service get Output of all services service get
service new Create new service
Options:
name Service Name (required)
proto Service Protocol (required)
icmp-types  ICMP type (required for icmp-proto)
src-ports Source ports (required for tcp/udp-proto)
dst-ports Target ports (required for tcp/udp-proto)
service new name "service_name" proto "tcp" src-ports "1024-65535" dst-ports "4443"
service set Change service settings
id ID number of the service (required)
proto
icmp-type new ICMP type (icmp/imcp6)
src-ports new source port(s) (udp/tcp)
dst-ports new destination port(s) (udp/tcp)
service set service set id "59" dst-ports "3390"
service delete Delete service service delete id "201"
or
service delete name "service_name"
service group new Creating a new service group

name Dienst-Gruppen Name (erforderlich)
descr Description of the service group
services Services associated with this group
service group new name "default-internet" services [ domain-udp ftp http icmp-echo-req ]
service group delete delete service group service group delete id "132"
or
service group delete name "Gruppen-Name"
service group set Changes to a service group

id Service Group ID (required)
name new name for the service group
descr new description for the service group
services new services for the service group
service group set id "128" name "Neuer-Gruppen-Name" services [ domain-udp domain-tcp http https ]
service group add Adding services to a service group

id ID of the service group
name Name of the service group
services Services to be added to the group (required)
service group add id "128" services [ ftp ms-rdp ]
or
service group add name "Gruppen-Name" services [ ftp ms-rdp ]
service group rem Remove a service from a service group

id ID of the service group
name Name of the service group
services Services to be removed from the group (required)
service group rem id "128" services [ ftp ms-rdp ]
or
service group rem name "Gruppen-Name" services [ ftp ms-rdp ].
service group get List of all set up service groups (including embedded services service group get