Wechseln zu:Navigation, Suche
Wiki


Vorlage:V11

service

Befehl Beschreibung Beispiel
service get Ausgabe aller Dienste service get
service new Neuen Dienst erstellen
Optionen:

name Dienst Name (erforderlich)
proto Dienst Protokoll (erforderlich)
icmp-types ICMP Typ (erforderlich für icmp-proto)
src-ports Quell Ports (erforderlich für tcp/udp-proto)
dst-ports Ziel Ports (erforderlich für tcp/udp-proto)

service new name "service_name" proto "tcp" src-ports "1024:65535" dst-ports "4443"
service set Diensteinstellung ändern

id ID Nummer des Dienst (erforderlich) proto Protokoll icmp-type neuer ICMP Typ (icmp/imcp6) src-ports neuer quell Port(s) (udp/tcp) dst-ports neuer ziel port(s) (udp/tcp)

service set service set id "59" dst-ports "3390"
service delete Dienst löschen service delete id "201" oder service delete name "service_name"
id     service id
name   service name

Command: service group new

 Descr: Erstellen einer neuen Dienst-Gruppe
 Usage: service group new service group new name <name> [descr <description>] [services <service>,...]
name   servicegroup name (mandatory)
descr  servicegroup description
services       services to associate with this group

Command: service group delete

 Descr: Dienstgruppe löschen
 Usage: service group delete service group delete { id <servicegroup_id> | name <servicegroup_name> }
id     servicegroup id
name   servicegroup name

Command: service group set

 Descr: Änderungen an einer Dienst-Gruppe
 Usage: service group set service group set id <id> [name <servicegroup_name>] [descr <description>] [services <service>,...]
id     servicegroup id (mandatory)
name   new name for servicegroup
descr  new description for servicegroup
services       new services for servicegroup

Command: service group add

 Descr: Hinzufügen eines Dienstes zu einer Dienst-Gruppe
 Usage: service group add service group add { id <servicegroup_id> | name <servicegroup_name> } services <service>,...
id     servicegroup id
name   servicegroup name
services       services to add to servicegroup (mandatory)

Command: service group rem

 Descr: Entfernen eines Dienstes aus einer Dienst-Gruppe
 Usage: service group rem service group rem { id <servicegroup_id> | name <servicegroup_name> } services <service>,...
id     servicegroup id
name   servicegroup name
services       services to remove from servicegroup (mandatory)

Command: service group get

 Descr: Auflistung aller eingerichteter Dienst-Gruppen (incl. enthaltener Dienste)
 Usage: service group get