> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kasoftware.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 代理设置

> 如何在知行之桥中配置全局入站和出站代理设置。

**安全**页面的**代理设置**部分包含全局入站和出站代理设置。支持出站代理的端口（例如 [AS3](https://docs.kasoftware.com/26.4/self-hosted/zh/connectors/as3.md)）默认使用这些**传出**设置，但你可以在其他一些端口（例如 [FTP](https://docs.kasoftware.com/26.4/self-hosted/zh/connectors/ftp.md) 和 [SFTP](https://docs.kasoftware.com/26.4/self-hosted/zh/connectors/sftp.md)）的**高级**选项卡中为各个端口配置单独的代理设置。

![Proxy settings page](https://mintcdn.com/qiao/V5zXPPmcRAz2rNUe/26.4/images/settings_proxy.png?fit=max\&auto=format\&n=V5zXPPmcRAz2rNUe\&q=85\&s=366108beb161f06d2a364a1fad7ea784)

## 传入代理设置

| 设置 | 描述 |
| - | - |
| **HTTP 转发头** | 当知行之桥位于代理或路由代理之后时，使用此设置在访问日志中记录原始传入请求的 IP 地址。指定后，应用程序将首先检查具有此值的标头，并将其记录为日志中远程 IP 列的值。 |

## 传出代理设置

| 设置 | 描述 |
| - | - |
| **代理类型** | 基于代理的防火墙使用的协议。 |
| **代理主机** | 基于代理的防火墙的名称或 IP 地址。 |
| **代理端口** | 基于代理的防火墙的 TCP 端口。 |
| **代理用户** | 用于通过基于代理的防火墙进行身份验证的用户名。 |
| **代理密码** | 用于通过基于代理的防火墙进行身份验证的密码。 |
| **身份验证方案** | 保留默认值**无**，或从以下身份验证方案中选择一种：**Basic**、**Digest**、**Proprietary** 或 **NTLM**。 |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.