# サーバセキュリティ ufw, Fail2Ban

**URL:** https://forum.ficusonline.com/t/topic/21
**Category:** Server
**Created:** [2016 年 10 月 6 日午前 1:17 UTC](https://forum.ficusonline.com/t/topic/21 "2016-10-06T01:17:40Z")
**Posts on this page:** 1
**Showing post:** 7

<div class="post-metadata">

### Author: ![tk-fuse](https://forum.ficusonline.com/user_avatar/forum.ficusonline.com/tk-fuse/32/255_2.png) [@tk-fuse](https://forum.ficusonline.com/u/tk-fuse)
#### Post date: [2025 年 6 月 25 日午後 12:00 UTC](https://forum.ficusonline.com/t/topic/21/7 "2025-06-25T12:00:04Z")

</div>

### **UFW（Uncomplicated Firewall）と `iptables-nft` / `nftables` の関係について**

**「UFWを有効にした状態でnftablesを使用しないこと」**

UFW（Uncomplicated Firewall）は内部的にnftablesを操作して動作しています。そのため、nftablesを手動で直接操作したり、システム起動時に自動で有効化してしまうと、UFWによって設定されたルールが上書き・破壊される恐れがあります。  
したがって、UFWを使用している場合は、nftablesを直接操作したり有効にしたりしないでください。

> [@nftables(iptables)/iproute2 ティップス](https://forum.ficusonline.com/t/topic/440/17):
>
> UFW（Uncomplicated Firewall）と iptables-nft / nftables の関係について UFW は iptables または iptables-nft をバックエンドとして使用します。 最近のLinuxディストリビューション（Ubuntu 22.04+、Debian 12+など）では、デフォルトで iptables-nft（iptables コマンド互換レイヤー…

---

_[View the full topic](https://forum.ficusonline.com/t/topic/21)._
