---
title: "哪些連線嘗試會被阻擋？"
description: "IP Access Protection 如何依登入失敗次數將來源 IP 加入 Deny List、涵蓋哪些連線方式，以及如何避免把自己擋在門外"
canonical_url: "https://docs.ardge.com/zh-tw/knowledge/arx-os/blocked-connections"
---
# 哪些連線嘗試會被阻擋？

> IP Access Protection 如何依登入失敗次數將來源 IP 加入 Deny List、涵蓋哪些連線方式，以及如何避免把自己擋在門外

## 快速解答

啟用 **Control Panel › Security** 的 IP Access Protection 後，同一來源 IP 若在設定的時間區間內連續登入失敗達到指定次數，該 IP 將被加入 **Deny List**，其後續連線一律遭到阻擋。

## 詳細說明

### 阻擋條件

兩項設定共同決定阻擋門檻：

<table>
<thead>
  <tr>
    <th>
      設定
    </th>
    
    <th>
      意義
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <strong>
        Login attempt
      </strong>
    </td>
    
    <td>
      觸發阻擋所需的連續登入失敗次數
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Within (minutes)
      </strong>
    </td>
    
    <td>
      計算失敗次數的時間區間
    </td>
  </tr>
</tbody>
</table>

### 適用的連線方式

HTTP(S) 與 SSH 兩種連線方式皆受 IP Access Protection 規範。任一種方式的登入嘗試達到阻擋條件，該 IP 即被加入 Deny List，且**兩種方式皆會拒絕**其連線。

### 阻擋的解除

啟用 **blocked expired** 後，封鎖期限（以天為單位）屆滿時該 IP 將自動從 Deny List 移除。未啟用時，該 IP 會持續被封鎖，直到你於 **Control Panel › Security** 頁面的 **Deny List** 手動移除該項目。

## 如何避免把自己擋在門外

請於 **Control Panel › Security** 頁面，將日常使用的內網 IP 加入 **Allow List**。列於 Allow List 的 IP 即使登入失敗達到阻擋條件，也不會被加入 Deny List，因此不會發生因忘記密碼而無法連線的狀況。


## Sitemap

See the full [sitemap](https://docs.ardge.com/sitemap.md) for all pages.
