> For the complete documentation index, see [llms.txt](https://docs.targitas.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.targitas.com/targitas-kullanim-rehberi/targitas-cli-arayuzune-giris/cli-konfigurasyon-komutlari/security.md).

# security

<mark style="color:red;">`hostname(config)#`</mark> konfigürasyon prompt bölümündeki kullanılabilir <mark style="color:red;">`security [Name]`</mark>  komutuyla  Targitas içerisinde firewall, hotspot, DPI vb. konfigürasyon işlemlerinin gerçekleştirilebileceği <mark style="color:red;">`hostname(config-[Name])#`</mark> bölümüne geçiş yapılır.

## Antivirus

Bu bölümde web arayüzde [**Configuration -> Antivirus**](https://docs.targitas.com/configuration/antivirus)  sekmesinde gerçekleştirilebilen konfigürasyonlar için gerekli komutlar bulunur.&#x20;

```
parta_Document(config)# security antivirus 
parta_Document(config-security-antivirus)# ?
enable                   Enable Antivirus Service
enable-update            Enable Antivirus Update Periodically
frequency                Antivirus DB Update Frequency

```

| <mark style="color:blue;">`enable`</mark>             | Antivirus'ün çalışması için aktifleştirir.                                                                                                   |
| ----------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- |
| <mark style="color:blue;">`enable-update`</mark>      | Antivirus'ün otomatik güncellenmesine izin verir.                                                                                            |
| <mark style="color:blue;">`frequency [Number]`</mark> | Antivirüs'ün veritabanın hangi sıklıkla güncelleneceği belirlemeyi sağlayan komuttur. Number bölümünde dakika birimden süre belirtilmelidir. |

​​​​

### Certificate <a href="#undefined" id="undefined"></a>

Bu bölümde web arayüzde [**Configuration -> System -> Certicates**](https://docs.targitas.com/configuration/system/certificates) sekmesinde gerçekleştirilebilen konfigürasyonlar için gerekli komutlar bulunur.&#x20;

```
parta_Document(config)# security certificate 
parta_Document(config-security-certificate)# ?
lets-encrypt             Certificate Profile
self-signed              Certificate Profile
trusted-ca               Certificate Profile

```

| <mark style="color:blue;">​</mark><mark style="color:blue;">`lets-encrypt`</mark> | ​ |
| --------------------------------------------------------------------------------- | - |
| <mark style="color:blue;">`​self-signed`</mark>                                   | ​ |
| <mark style="color:blue;">`trusted-ca`</mark>                                     |   |

### DPI <a href="#undefined" id="undefined"></a>

​​​Bu bölümde web arayüzde [**Configuration -> DPI**](https://docs.targitas.com/configuration/dpi)  sekmesinde gerçekleştirilebilen konfigürasyonlar için gerekli komutlar bulunur.&#x20;

```
parta_Document(config)# security dpi
parta_Document(config-security-dpi)#  ?
analysis-frequency       Set Analysis Timer Frequency as minute
antivirus                Enable antivirus for dpi
application-control      Enable ip-accounting for dpi
blocker                  DPI Blocker
destination-aware-detectionEnable Destination Lookup for dpi
disable                  Disable logging for dpi
dpi-policy               Web Policy Configuration
enable                   Enables DPI Daemon
filtering                Enable filtering for dpi
flow-source              Set Source Network
intensive-classification Enable ip-accounting for dpi
ip-accounting            Enable ip-accounting for dpi
logging                  Enable logging for dpi
mac-logging              Enable mac-logging for dpi
ndr                      Enable ndr for dpi
ndr-interface            ndr interface
nfv-mode                 Mode of NFV
nfv-profile              NFV Profile
qos-profile              QoS Profile
ssl-inspection           DPI SSL Inspection Config
syslog                   Syslog Profile
web-category             Web Category

```

| <mark style="color:blue;">`​analysis-frequency`</mark>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         | ​Web arayüzünde [**Monitoring ana sayfasında** ](https://docs.targitas.com/monitoring/monitoring-ana-sayfasi)yer alan Widget'ların güncellenmesi için gerçekleştirilen DPI analizinin frekans değeri dakika biriminden belirlenir. |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| ​<mark style="color:blue;">`​antivirus`</mark>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | DPI değerlendirmesinde antivirus kontrolü gerçekleştirilmesi isteniyorsa kullanılmalıdır.                                                                                                                                          |
| <mark style="color:blue;">`application-control`</mark>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         | DPI değerlendirmesinde OSI katman 7 düzeyinde 7000'e yakın uygulamanın filtrelenmesi ve loglanması isteniyorsa kullanılmalıdır.                                                                                                    |
| <p><mark style="color:blue;"><code>blocker listen-interface \[Interface Name]</code></mark><br><br><mark style="color:blue;"><code>blocker listen-port \[Port]</code></mark></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | DPI değerlendirmesi ardından engellenen sayfaların yönlendirileceği Block Page sayfasının çalışacağı interface ve port numarası belirlenebilir                                                                                     |
| <mark style="color:blue;">`destination-aware-detection`</mark>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | Belirli Destination IP özelindeki trafikte DPI değerlendirilmesi gerçekleştirilmek isteniyorsa kullanılmalıdır.                                                                                                                    |
| <p><mark style="color:blue;"><code>disable antivirus</code></mark><br><br><mark style="color:blue;"><code>disable application-control</code></mark><br><br><mark style="color:blue;"><code>disable destination-aware-detectionDisable</code></mark><br><br><mark style="color:blue;"><code>disable filtering</code></mark><br><br><mark style="color:blue;"><code>disable intensive-classification</code></mark><br><br><mark style="color:blue;"><code>disable ip-accounting</code></mark><br><br><mark style="color:blue;"><code>disable logging</code></mark><br><br><mark style="color:blue;"><code>disable mac-logging</code></mark><br><br><mark style="color:blue;"><code>disable ndr</code></mark></p> | Web arayüzünde Configuration -> DPI -> Settings sayfasında belirlenen DPI temel ayarların kaldırılması isteniyorsa <mark style="color:red;">`disable [Settings]`</mark> komutu kullanılmalıdır.                                    |
| <mark style="color:blue;">`dpi-policy [Name] rule-id [ID]`</mark>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | Bu komut sayesinde                                                                                                                                                                                                                 |
| <mark style="color:blue;">`enable`</mark>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |                                                                                                                                                                                                                                    |
| <mark style="color:blue;">`filtering`</mark>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |                                                                                                                                                                                                                                    |
| <mark style="color:blue;">`flow-source`</mark>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |                                                                                                                                                                                                                                    |
| <mark style="color:blue;">`intensive-classification`</mark>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |                                                                                                                                                                                                                                    |
| <mark style="color:blue;">`ip-accounting`</mark>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |                                                                                                                                                                                                                                    |
| <mark style="color:blue;">`logging`</mark>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |                                                                                                                                                                                                                                    |
| <mark style="color:blue;">`mac-logging`</mark>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |                                                                                                                                                                                                                                    |
| <mark style="color:blue;">`ndr`</mark>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |                                                                                                                                                                                                                                    |
| <mark style="color:blue;">`ndr-interface`</mark>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |                                                                                                                                                                                                                                    |
| <mark style="color:blue;">`nfv-mode`</mark>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |                                                                                                                                                                                                                                    |
| <mark style="color:blue;">`nfv-profile`</mark>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |                                                                                                                                                                                                                                    |
| <mark style="color:blue;">`qos-profile`</mark>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |                                                                                                                                                                                                                                    |
| <mark style="color:blue;">`ssl-inspection`</mark>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |                                                                                                                                                                                                                                    |
| <mark style="color:blue;">`syslog`</mark>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |                                                                                                                                                                                                                                    |
| <mark style="color:blue;">`web-category`</mark>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |                                                                                                                                                                                                                                    |

### Firewall <a href="#undefined" id="undefined"></a>

```
```

####

### Hotspot <a href="#undefined" id="undefined"></a>

​​​Bu bölümde web arayüzde [**Configuration -> AAA -> Hotspot**](https://docs.targitas.com/configuration/aaa/hotspot) sekmesinde gerçekleştirilebilen konfigürasyonlar için gerekli komutlar bulunur. Hotspot konfigürasyonunu adımlarının web arayüzünde nasıl gerçekleştirileceğini [***Hotspot Rehberi'nden***](https://docs.targitas.com/targitas-kullanim-rehberi/hotspot-rehberi) öğrenebilirsiniz.

```
parta_Document(config)# security hotspot 
parta_Document(config-security-hotspot)# ?
auth-profile             Hotspot Profile Name
captive-portal           Captive Portal Server Config
enable                   Enable Hotspot
frequency                The time frequency that gives the control that the ip address is not in the system.
layer-2                  Enable logout for hotspot users.
layer-3                  Disable logout for hotspot users.
simultaneous-use         simultaneous Use with same user.

```

| <mark style="color:blue;">`auth-profile`</mark>     |   |
| --------------------------------------------------- | - |
| <mark style="color:blue;">`captive-portal`</mark>   |   |
| <mark style="color:blue;">`enable`</mark>           |   |
| <mark style="color:blue;">`frequency`</mark>        |   |
| <mark style="color:blue;">`layer-2`</mark>          | ​ |
| <mark style="color:blue;">`layer-3`</mark>          |   |
| <mark style="color:blue;">`simultaneous-use`</mark> |   |

### IPSec <a href="#undefined" id="undefined"></a>

​​​Bu bölümde web arayüzde [**Configuration -> VPN -> Ipsec**](https://docs.targitas.com/configuration/vpn/ipsec)  sekmesinde gerçekleştirilebilen konfigürasyonlar için gerekli komutlar bulunur.&#x20;

```
parta_Document(config)# security ipsec 
parta_Document(config-security-ipsec)# ?
enable                   Enable Ipsec VPN (Default: disable)
listen                   Ipsec Listen IP
policy                   Ipsec Policy
profile                  Ipsec Profile

```

| <mark style="color:blue;">`enable`</mark>  | ​ |
| ------------------------------------------ | - |
| <mark style="color:blue;">`listen`</mark>  | ​ |
| <mark style="color:blue;">`policy`</mark>  |   |
| <mark style="color:blue;">`profile`</mark> |   |

​​

### Log-sign <a href="#undefined" id="undefined"></a>

​​​Bu bölümde web arayüzde **Configuration ->** sekmesinde gerçekleştirilebilen konfigürasyonlar için gerekli komutlar bulunur.&#x20;

```
parta_Document(config)# security log-sign 
parta_Document(config-security-log-sign)# ?
certificate-profile      Certificate Profile

```

| <mark style="color:blue;">`certificate-profile​`</mark> | ​ |
| ------------------------------------------------------- | - |

### NGIPS <a href="#undefined" id="undefined"></a>

Bu bölümde web arayüzde [**Configuration -> NGIPS**](https://docs.targitas.com/configuration/ngips) sekmesinde gerçekleştirilebilen konfigürasyonlar için gerekli komutlar bulunur.&#x20;

```
parta_Document(config)# security ngips
parta_Document(config-security-ngips)# ?
enable                   Enable Service
mode                     Set the NGIPS mode.
ndr-interface            ndr interface
ndr-policy               Set the NDR Policy.
policy                   Set NGIPS Policy name
rule                     Set NGIPS Rule name
```

| <mark style="color:blue;">`enable`</mark>        | ​ |
| ------------------------------------------------ | - |
| <mark style="color:blue;">`mode`</mark>          | ​ |
| <mark style="color:blue;">`ndr-interface`</mark> |   |
| <mark style="color:blue;">`ndr-policy`</mark>    |   |
| <mark style="color:blue;">`policy`</mark>        |   |
| <mark style="color:blue;">`rule`</mark>          |   |

### SSL VPN

Bu bölümde web arayüzde [**Configuration -> VPN -> SSL VPN**](https://docs.targitas.com/configuration/vpn/ssl-vpn) sekmesinde gerçekleştirilebilen konfigürasyonlar için gerekli komutlar bulunur.&#x20;

```
parta_Document(config)# security ssl-vpn
parta_Document(config-security-ssl-vpn)# ?
policy                   SSL VPN Policy for authentication
portal-application       Application
profile                  Profile

```

| <mark style="color:blue;">`policy`</mark>             | SSL VPN politikaları ile ilgili konfigürasyonun |
| ----------------------------------------------------- | ----------------------------------------------- |
| <mark style="color:blue;">`portal-application`</mark> |                                                 |
| <mark style="color:blue;">`profile`</mark>            |                                                 |

​​​​

### ZTNA

```
parta_Document(config)# security ztna 
parta_Document(config-security-ztna)# ?
client-frequency         Set ZTNA Client Frequency as minute
client-private-key       Set ZTNA Private Key
enable                   Enable ZTNA Service
policy                   ZTNA Policy Configuration
server-listen-ip         Set ZTNA Listen IP
trapmine-server-ip       Set ZTNA Client Frequency as minute
trapmine-token           Set ZTNA Private Key
```

| <mark style="color:blue;">`client-frequency`</mark>   |   |
| ----------------------------------------------------- | - |
| <mark style="color:blue;">`client-private-key`</mark> |   |
| <mark style="color:blue;">`enable`</mark>             |   |
| <mark style="color:blue;">`policy`</mark>             |   |
| <mark style="color:blue;">`server-listen-ip`</mark>   |   |
| <mark style="color:blue;">`trapmine-server-ip`</mark> |   |
| <mark style="color:blue;">`trapmine-token`</mark>     |   |

​​​​
