debian 防火墙命令 nft
生活随笔
收集整理的這篇文章主要介紹了
debian 防火墙命令 nft
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
參考鏈接:nftables
# which nft
/usr/sbin/nft
# dpkg -S /usr/sbin/nft
nftables: /usr/sbin/nft
# dpkg -L nftables
/etc/nftables.conf
/lib/systemd/system/nftables.service
/usr/sbin/nft
/usr/share
...
# systemctl status nftables
● nftables.service - nftables
Loaded: loaded (/lib/systemd/system/nftables.service; enabled; vendor preset: enabled)
Active: active (exited) since Tue 2022-08-30 15:44:07 CST; 1h 9min ago
# 查看規則
# nft list ruleset -nn
# 修改建議走配置文件,修改后重啟服務
vi /etc/nftables.conf
systemctl restart nftables
總結
以上是生活随笔為你收集整理的debian 防火墙命令 nft的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: NPOI操作之一EXCEL数据导入数据库
- 下一篇: 【动画进阶】神奇的 3D 磨砂玻璃透视效