Wechseln zu:Navigation, Suche
Wiki
(Die Seite wurde neu angelegt: „{{Set_lang}} {{#vardefine:headerIcon|spicon-utm}} {{:UTM/CLI/Service.lang}} {{var | neu--Layoutanpassung | Layoutanpassung | }} {{var | neu--service ct_helper get | Neuer Befehl: service ct_helper get | }} </div><div class="new_design"></div>{{TOC2}} {{Header|06.2024| * {{#var:neu--Layoutanpassung}} * {{#var:neu--service ct_helper get}} | v11 |Menu={{Menu-UTM|Extras|CLI}} }} ---- {| class="sptabl…“)
 
KKeine Bearbeitungszusammenfassung
 
(Eine dazwischenliegende Version desselben Benutzers wird nicht angezeigt)
Zeile 6: Zeile 6:
{{var | neu--Layoutanpassung
{{var | neu--Layoutanpassung
| Layoutanpassung
| Layoutanpassung
| }}
| Layout adjustments }}
{{var | neu--service ct_helper get
{{var | neu--service ct_helper get
| Neuer Befehl: [[#service ct_helper|service ct_helper get]]
| Neu im Wiki: [[#service ct_helper|service ct_helper get]]
| }}
| New in the Wiki: [[#service ct_helper|service ct_helper get]] }}


</div><div class="new_design"></div>{{TOC2}}
</div><div class="new_design"></div>{{TOC2}}{{Select_lang}}
{{Header|06.2024|
{{Header|07.2024|
* {{#var:neu--Layoutanpassung}}
* {{#var:neu--Layoutanpassung}}
* {{#var:neu--service ct_helper get}}
* {{#var:neu--service ct_helper get}}
Zeile 21: Zeile 21:


{| class="sptable2 pd5 sortable"
{| class="sptable2 pd5 sortable"
! {{#var:Befehl}} !! class=unsortable| {{#var:Parameter}} !! class=unsortable| {{#var:desc}} !! class=unsortable| {{#var:Beispiel}}
! {{#var:Befehl}} !! class=unsortable| Parameter !! class=unsortable| {{#var:desc}} !! class=unsortable| {{#var:Beispiel}}
|-
|-
| {{h4|service}} {{h5|service get}} '''service''' get
| {{h4|service}} {{h5|service get}} '''service''' get
|
|
Zeile 30: Zeile 29:
|-
|-


| rowspan=6 | {{h5|service new}} service new
| rowspan="6" | {{h5|service new}} service new
|
|
| {{#var:service new--desc}}  
| {{#var:service new--desc}}  
| rowspan=6 | {{code|service new name "service_name" proto "tcp" src-ports "1024-65535" dst-ports "4443"}}
| rowspan="6" | {{code|service new name "service_name" proto "tcp" src-ports "1024-65535" dst-ports "4443"}}
|-
|-
| name
| name
Zeile 51: Zeile 50:
|-
|-


| rowspan=6 | {{h5|service set}} service set
| rowspan="6" | {{h5|service set}} service set
|
|
| {{#var:service set--desc}}  
| {{#var:service set--desc}}  
| rowspan=6 | {{code|service set service set id "59" dst-ports "3390"}}
| rowspan="6" | {{code|service set service set id "59" dst-ports "3390"}}
|-
|-
| id
| id
Zeile 72: Zeile 71:
|-
|-


| rowspan=3 | {{h5|service delete}} service delete
| rowspan="3" | {{h5|service delete}} service delete
|
|
| {{#var:service delete--desc}}  
| {{#var:service delete--desc}}  
| rowspan=3 | {{code|service delete id "201"}}<br>{{#var:oder}}<br>
| rowspan="3" | {{code|service delete id "201"}}<br>{{#var:oder}}<br>
{{code|service delete name "service_name"}}
{{code|service delete name "service_name"}}
|-
|-
Zeile 97: Zeile 96:
|-
|-


| rowspan=4 | {{h5|service group new}} service group new
| rowspan="4" | {{h5|service group new}} service group new
|
|
| {{#var:service group new--desc}}  
| {{#var:service group new--desc}}  
| rowspan=4 | {{code|service group new name "default-internet" services [ domain-udp ftp http icmp-echo-req ]}}
| rowspan="4" | {{code|service group new name "default-internet" services [ domain-udp ftp http icmp-echo-req ]}}
|-
|-
| name
| name
Zeile 112: Zeile 111:
|-
|-


| rowspan=3 | {{h5|service group delete}} service group delete
| rowspan="3" | {{h5|service group delete}} service group delete
|
|
| {{#var:service group delete--desc}}  
| {{#var:service group delete--desc}}  
| rowspan=3 | {{code|service group delete id "3"}}<br>{{#var:oder}}<br>
| rowspan=3 | {{code|service group delete id "3"}}<br> {{#var:oder}}<br>
{{code|service group delete name "default-internet"}}
{{code|service group delete name "default-internet"}}
|-
|-
Zeile 125: Zeile 124:
|-
|-


| rowspan=5 | {{h5|service group set}} service group set
| rowspan="5" | {{h5|service group set}} service group set
|
|
| {{#var:service group set--desc}}  
| {{#var:service group set--desc}}  
| rowspan=5 | {{code|service group set id "128" name "admin-internet" services [ domain-udp domain-tcp http https ]}}
| rowspan="5" | {{code|service group set id "128" name "admin-internet" services [ domain-udp domain-tcp http https ]}}
|-
|-
| id
| id
Zeile 143: Zeile 142:
|-
|-


| rowspan=4 | {{h5|service group add}} service group add
| rowspan="4" | {{h5|service group add}} service group add
|
|
| {{#var:service group add--desc}}  
| {{#var:service group add--desc}}  
| rowspan=4 | {{code|service group add id "128" services [ ftp ms-rdp ]}}<br>{{#var:oder}}<br>
| rowspan="4" | {{code|service group add id "128" services [ ftp ms-rdp ]}}<br> {{#var:oder}}<br>
{{code|service group add name "admin-internet" services [ ftp ms-rdp ]}}
{{code|service group add name "admin-internet" services [ ftp ms-rdp ]}}
|-
|-
Zeile 159: Zeile 158:
|-
|-


| rowspan=4 | {{h5|service group rem}} service group rem
| rowspan="4" | {{h5|service group rem}} service group rem
|
|
| {{#var:service group rem--desc}}  
| {{#var:service group rem--desc}}  
| rowspan=4 | {{code|service group rem id "128" services [ ftp ms-rdp ]}}<br>{{#var:oder}}<br>
| rowspan="4" | {{code|service group rem id "128" services [ ftp ms-rdp ]}}<br> {{#var:oder}}<br>
{{code|service group rem name "admin-internet" services [ ftp ms-rdp ]}}
{{code|service group rem name "admin-internet" services [ ftp ms-rdp ]}}
|-
|-

Aktuelle Version vom 23. Juli 2024, 14:35 Uhr































De.png
En.png
Fr.png








Syntax für den CLI Befehl "Service"
Letzte Anpassung: 07.2024
Neu:
notempty
Dieser Artikel bezieht sich auf eine Resellerpreview

v11

Aufruf: UTM-IP:Port oder UTM-URL:Port
Port wie unter Netzwerk / Servereinstellungen / Webserver konfiguriert
Default-Port: 11115
z.B.: https://utm.ttt-point.de:11115
Default: https://192.168.175.1:11115
Extras CLI

Befehl Parameter Beschreibung Beispiel

service

service get
service get
Ausgabe aller Dienste service get
service new
service new
Neuen Dienst erstellen service new name "service_name" proto "tcp" src-ports "1024-65535" dst-ports "4443"
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 set
service set
Diensteinstellung ändern service set service set id "59" dst-ports "3390"
id Id des Dienst (erforderlich) (erforderlich)
proto Dienst Protokoll
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 delete
service delete
Dienst löschen service delete id "201"
oder

service delete name "service_name"

id Id des Dienst (erforderlich)
name Dienst Name

service ct_helper

service ct_helper get
service ct_helper get
Zeigt die Connection Tracking Helper und ihre Protokolle an service ct_helper get

service group

service group get
service group get
Auflistung aller eingerichteter Dienst-Gruppen (inkl. enthaltener Dienste) service group get
service group new
service group new
Erstellen einer neuen Dienst-Gruppe service group new name "default-internet" services [ domain-udp ftp http icmp-echo-req ]
name Dienst-Gruppen Name (erforderlich)
descr Beschreibung der Dienstgruppe
services Dienste für diese Gruppe
service group delete
service group delete
Dienstgruppe löschen service group delete id "3"
oder

service group delete name "default-internet"

id Id einer Dienstgruppe
name Dienst-Gruppen Name
service group set
service group set
Änderungen an einer Dienstgruppe service group set id "128" name "admin-internet" services [ domain-udp domain-tcp http https ]
id Id einer Dienstgruppe
name Dienst-Gruppen Name
descr Beschreibung der Dienstgruppe
services Dienste für diese Gruppe
service group add
service group add
Hinzufügen von Diensten zu einer Dienstgruppe service group add id "128" services [ ftp ms-rdp ]
oder

service group add name "admin-internet" services [ ftp ms-rdp ]

id Id einer Dienstgruppe
name Dienst-Gruppen Name
services Dienste die hinzugefügt werden sollen (erforderlich)
service group rem
service group rem
Entfernen von Diensten zu einer Dienstgruppe service group rem id "128" services [ ftp ms-rdp ]
oder

service group rem name "admin-internet" services [ ftp ms-rdp ]

id Id einer Dienstgruppe
name Dienst-Gruppen Name
services Dienste die entfernt werden sollen (erforderlich)