K (→service) |
KKeine Bearbeitungszusammenfassung |
||
(Eine dazwischenliegende Version desselben Benutzers wird nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
{{Archivhinweis|UTM/CLI/Service}} | |||
{{Set_lang}} | |||
{{#vardefine:headerIcon|spicon-utm}} | |||
{{var | head | |||
| Verwendung des CLI-Befehls service auf der UTM | |||
| Using the CLI command service on the UTM }} | |||
{{var | neu--Syntax-Korrektur | |||
| Syntax-Korrektur Befehl ''service group new'' | |||
| Syntax correction Command ''service group new'' }} | |||
{{var | Befehl | |||
| Befehl | |||
| Command }} | |||
{{var | Beispiel | |||
| Beispiel | |||
| Example }} | |||
{{var | service get--desc | |||
| Ausgabe aller Dienste | |||
| Output of all services }} | |||
{{var | service new--desc | |||
| Neuen Dienst erstellen | |||
| Create new service<br>Options:<br> }} | |||
{{var | service new--name--desc | |||
| Dienst Name (erforderlich) | |||
| Service Name (required) }} | |||
{{var | service new--proto--desc | |||
| Dienst Protokoll (erforderlich) | |||
| Service Protocol (required) }} | |||
{{var | service new--icmp-types--desc | |||
| ICMP Typ (erforderlich für icmp-proto) | |||
| ICMP type (required for icmp-proto) }} | |||
{{var | service new--src-ports--desc | |||
| Quell Ports (erforderlich für tcp/udp-proto) | |||
| Source ports (required for tcp/udp-proto) }} | |||
{{var | service new--dst-ports--desc | |||
| Ziel Ports (erforderlich für tcp/udp-proto) | |||
| Target ports (required for tcp/udp-proto) }} | |||
{{var | service set--desc | |||
| Diensteinstellung ändern | |||
| Change service settings }} | |||
{{var | service set--id--desc | |||
| ID Nummer des Dienst (erforderlich) | |||
| ID number of the service (required) }} | |||
{{var | service set--proto--desc | |||
| Protokoll | |||
| Protocol }} | |||
{{var | service set--icmp-types--desc | |||
| neuer ICMP Typ (icmp/imcp6) | |||
| new ICMP type (icmp/imcp6) }} | |||
{{var | service set--src-ports--desc | |||
| neuer Quell Port(s) (udp/tcp) | |||
| new source port(s) (udp/tcp) }} | |||
{{var | service set--dst-ports--desc | |||
| neuer Ziel Port(s) (udp/tcp) | |||
| new destination port(s) (udp/tcp) }} | |||
{{var | service delete--desc | |||
| Dienst löschen | |||
| Delete service }} | |||
{{var | oder | |||
| oder | |||
| or }} | |||
{{var | service group new--desc | |||
| Erstellen einer neuen Dienst-Gruppe | |||
| Creating a new service group }} | |||
{{var | service group new--name--desc | |||
| Dienst-Gruppen Name (erforderlich) | |||
| Dienst-Gruppen Name (erforderlich) }} | |||
{{var | service group new--descr--desc | |||
| Beschreibung der Dienstgruppe | |||
| Description of the service group }} | |||
{{var | service group new--services--desc | |||
| Dienste die mit dieser Gruppe verknüpft sind | |||
| Services associated with this group }} | |||
{{var | service group delete--desc | |||
| Dienstgruppe löschen | |||
| delete service group }} | |||
{{var | service group set--desc | |||
| Änderungen an einer Dienstgruppe | |||
| Changes to a service group }} | |||
{{var | Optionen--desc | |||
| Optionen: | |||
| Options: }} | |||
{{var | service group set--id--desc | |||
| ID der Dienstgruppe (erforderlich) | |||
| Service Group ID (required) }} | |||
{{var | service group set--name--desc | |||
| neuer Name für die Dienstgruppe | |||
| new name for the service group }} | |||
{{var | service group set--descr--desc | |||
| neue Beschreibung für die Dienstgruppe | |||
| new description for the service group }} | |||
{{var | service group set--services--desc | |||
| neue Dienste für die Dienstgruppe | |||
| new services for the service group }} | |||
{{var | service group add--desc | |||
| Hinzufügen von Diensten zu einer Dienstgruppe | |||
| Adding services to a service group }} | |||
{{var | service group add--id--desc | |||
| ID der Dienstgruppe | |||
| ID of the service group }} | |||
{{var | service group add--name--desc | |||
| Name der Dienstgruppe | |||
| Name of the service group }} | |||
{{var | service group add--services--desc | |||
| Dienste, die zur Gruppe hinzugefügt werden sollen (erforderlich) | |||
| Services to be added to the group (required) }} | |||
{{var | service group rem--desc | |||
| Entfernen eines Dienstes aus einer Dienst-Gruppe | |||
| Remove a service from a service group }} | |||
{{var | service group rem--id--desc | |||
| ID der Dienstgruppe | |||
| ID of the service group }} | |||
{{var | service group rem--name--desc | |||
| Name der Dienstgruppe | |||
| Name of the service group }} | |||
{{var | service group rem--services--desc | |||
| Dienste, die aus der Gruppe entfernt werden sollen (erforderlich) | |||
| Services to be removed from the group (required) }} | |||
{{var | service group get--desc | |||
| Auflistung aller eingerichteter Dienst-Gruppen (incl. enthaltener Dienste) | |||
| List of all set up service groups (including embedded services }} | |||
{{var | --desc | |||
| | |||
| }}{{var | --desc | |||
| | |||
| }} | |||
</div>{{DISPLAYTITLE:CLI-Befehl service}}{{Select_lang}} | |||
=service = | =service = | ||
{ | '''{{#var:head}}''' | ||
{{cl|{{#var:neu}}| | |||
* {{#var:neu--Syntax-Korrektur}} | |||
}}<br> | |||
{{#var:ver-d}} '''07.2020''' | |||
{| class="sptable2 pd5" | |||
|- | |- | ||
!style=" | ! style="min-width: 160px;" | {{#var:Befehl}} !! {{#var:desc}} !! {{#var:Beispiel}} | ||
|- | |- | ||
| service get || {{#var:service get--desc}} || service get | |||
|- | |- | ||
| service new | |||
| | | {{#var:service new--desc}} | ||
{| | {| class="sptable0 noborder lh-07" | ||
|- | |- | ||
|name || | |name || {{#var:service new--name--desc}} | ||
|- | |- | ||
|proto || | |proto || {{#var:service new--proto--desc}} | ||
|- | |- | ||
|icmp-types || | |icmp-types  || {{#var:service new--icmp-types--desc}} | ||
|- | |- | ||
|src-ports || | |src-ports || {{#var:service new--src-ports--desc}} | ||
|- | |- | ||
|dst-ports || | |dst-ports || {{#var:service new--dst-ports--desc}} | ||
|} | |} | ||
| service new name "service_name" proto "tcp" src-ports "1024-65535" dst-ports "4443" | |||
|- | |- | ||
| service set | |||
| | | {{#var:service set--desc}} | ||
{| | {| class="sptable0 noborder lh-07" | ||
|- | |- | ||
|id || | |id || {{#var:service set--id--desc}} | ||
|- | |- | ||
|proto || | |proto || {{#var:service set--proto--desc:}} | ||
|- | |- | ||
|icmp-type || | |icmp-type || {{#var:service set--icmp-types--desc}} | ||
|- | |- | ||
|src-ports || | |src-ports || {{#var:service set--src-ports--desc}} | ||
|- | |- | ||
|dst-ports || | |dst-ports || {{#var:service set--dst-ports--desc}} | ||
|} | |} | ||
| service set service set id "59" dst-ports "3390" | |||
|- | |- | ||
| | | service delete || {{#var: service delete--desc}} || service delete id "201"<br>'''{{#var:oder}}'''<br>service delete name "service_name" | ||
|- | |- | ||
| service group new | |||
| | | {{#var:service group new--desc}}<br>{{#var:Optionen}}<br> | ||
{| | {| class="sptable0 noborder lh-07" | ||
|- | |- | ||
|name || | | name || {{#var:service group new--name--desc}} | ||
|- | |- | ||
|descr || | | descr || {{#var:service group new--descr--desc}} | ||
|- | |- | ||
|services || | | services || {{#var:service group new--services--desc}} | ||
|} | |} | ||
| service group new name "default-internet" services [ domain-udp ftp http icmp-echo-req ] | |||
|- | |- | ||
| | | service group delete || {{#var: service group delete--desc}} || service group delete id "132"<br>'''{{#var:oder}}'''<br>service group delete name "Gruppen-Name" | ||
|- | |- | ||
| service group set | |||
| | | {{#var:service group set--desc}}<br>{{#var:Optionen}}<br> | ||
{| | {| class="sptable0 noborder lh-07" | ||
|- | |- | ||
|id || | | id || {{#var:service group set--id--desc}} | ||
|- | |- | ||
|name || | | name || {{#var:service group set--name--desc}} | ||
|- | |- | ||
|descr || | | descr || {{#var:service group set--descr--desc}} | ||
|- | |- | ||
|services || | | services || {{#var:service group set--services--desc}} | ||
|} | |} | ||
| service group set id "128" name "Neuer-Gruppen-Name" services [ domain-udp domain-tcp http https ] | |||
|- | |- | ||
| service group add | |||
| | | {{#var:service group add--desc}}<br>{{#var:Optionen}}<br> | ||
{| | {| class="sptable0 noborder lh-07" | ||
|- | |- | ||
|id || | | id || {{#var:service group add--id--desc}} | ||
|- | |- | ||
|name || | | name || {{#var:service group add--name--desc}} | ||
|- | |- | ||
|services || | | services || {{#var:service group add--services--desc}} | ||
|} | |} | ||
| service group add id "128" services [ ftp ms-rdp ]<br>'''{{#var:oder}}'''<br>service group add name "Gruppen-Name" services [ ftp ms-rdp ] | |||
|- | |- | ||
| service group rem | |||
| | | {{#var:service group rem--desc}} <br>{{#var:Optionen}}<br> | ||
{| | {| class="sptable0 noborder lh-07" | ||
|- | |- | ||
|id || | | id || {{#var:service group rem--id--desc}} | ||
|- | |- | ||
|name || | | name || {{#var:service group rem--name--desc}} | ||
|- | |- | ||
|services || | | services || {{#var:service group rem--services--desc}} | ||
|} | |} | ||
| service group rem id "128" services [ ftp ms-rdp ]<br>'''{{#var:oder}}'''<br>service group rem name "Gruppen-Name" services [ ftp ms-rdp ]. | |||
|- | |- | ||
| | | service group get || {{#var: service group get--desc}} || service group get | ||
|} | |} |
Aktuelle Version vom 17. Juli 2024, 07:42 Uhr
notempty
notempty
notempty Dieser Artikel bezieht sich auf eine nicht mehr aktuelle Version!
notempty
Der Artikel für die neueste Version steht hier
Zu diesem Artikel gibt es bereits eine neuere Version, die sich allerdings auf eine Reseller-Preview bezieht
service
Verwendung des CLI-Befehls service auf der UTM
- Neu:
- Syntax-Korrektur Befehl service group new
Letzte Anpassung: 07.2020
Befehl | Beschreibung | Beispiel | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
service get | Ausgabe aller Dienste | service get | ||||||||||
service new | Neuen Dienst erstellen
|
service new name "service_name" proto "tcp" src-ports "1024-65535" dst-ports "4443" | ||||||||||
service set | Diensteinstellung ändern
|
service set service set id "59" dst-ports "3390" | ||||||||||
service delete | Dienst löschen | service delete id "201" oder service delete name "service_name" | ||||||||||
service group new | Erstellen einer neuen Dienst-Gruppe
|
service group new name "default-internet" services [ domain-udp ftp http icmp-echo-req ] | ||||||||||
service group delete | Dienstgruppe löschen | service group delete id "132" oder service group delete name "Gruppen-Name" | ||||||||||
service group set | Änderungen an einer Dienstgruppe
|
service group set id "128" name "Neuer-Gruppen-Name" services [ domain-udp domain-tcp http https ] | ||||||||||
service group add | Hinzufügen von Diensten zu einer Dienstgruppe
|
service group add id "128" services [ ftp ms-rdp ] oder service group add name "Gruppen-Name" services [ ftp ms-rdp ] | ||||||||||
service group rem | Entfernen eines Dienstes aus einer Dienst-Gruppe
|
service group rem id "128" services [ ftp ms-rdp ] oder service group rem name "Gruppen-Name" services [ ftp ms-rdp ]. | ||||||||||
service group get | Auflistung aller eingerichteter Dienst-Gruppen (incl. enthaltener Dienste) | service group get |