KKeine Bearbeitungszusammenfassung |
KKeine Bearbeitungszusammenfassung |
||
Zeile 6: | Zeile 6: | ||
{{var | neu--Layoutanpassung | {{var | neu--Layoutanpassung | ||
| Layoutanpassung | | Layoutanpassung | ||
| | | Layout adjustments }} | ||
{{var | | {{var | neu--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|07.2024| | {{Header|07.2024| | ||
* {{#var:neu--Layoutanpassung}} | * {{#var:neu--Layoutanpassung}} | ||
Zeile 21: | Zeile 21: | ||
{| class="sptable2 pd5 sortable" | {| class="sptable2 pd5 sortable" | ||
! {{#var:Befehl}} !! class=unsortable| | ! {{#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
Syntax für den CLI Befehl "Service"
Letzte Anpassung: 07.2024
Neu:
- Layoutanpassung
- Neu im Wiki: service ct_helper get
notempty
Dieser Artikel bezieht sich auf eine Resellerpreview
Befehl | Parameter | Beschreibung | Beispiel |
---|---|---|---|
serviceservice getservice get |
Ausgabe aller Dienste | service get | |
service newservice 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 setservice 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 deleteservice delete |
Dienst löschen | service delete id "201" oder service delete name "service_name" | |
id | Id des Dienst (erforderlich) | ||
name | Dienst Name | ||
service ct_helperservice ct_helper getservice ct_helper get |
Zeigt die Connection Tracking Helper und ihre Protokolle an | service ct_helper get | |
service groupservice group getservice group get |
Auflistung aller eingerichteter Dienst-Gruppen (inkl. enthaltener Dienste) | service group get | |
service group newservice 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 deleteservice 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 setservice 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 addservice 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 remservice 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) |