Auto-sync: 2026-04-16 21:08

This commit is contained in:
2026-04-16 21:08:55 +08:00
parent be7e39a4d0
commit 0dc7e71539
37 changed files with 846 additions and 3 deletions

32
wiki/entities/UFW.md Normal file
View File

@@ -0,0 +1,32 @@
---
title: "UFW"
type: entity
tags: [firewall, networking, security]
date: 2026-04-16
---
## Definition
UFWUncomplicated Firewall是 Ubuntu 默认的防火墙管理工具,提供简化的 iptables 命令接口。
## Role
- Ubuntu 系统防火墙管理
- 控制入站和出站网络流量
## Aliases
- Uncomplicated Firewall
## Key Properties
- 命令行工具
- 默认阻止所有入站连接
- 支持 IPv4 和 IPv6
## Usage
```bash
sudo ufw allow ssh # 允许 SSH
sudo ufw allow 22/tcp # 允许 SSH 端口
sudo ufw status # 查看状态
```
## Connections
- [[Ubuntu]] ← uses ← [[UFW]]
- [[OpenSSH]] ← protected_by ← [[UFW]]