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 磨砂玻璃透视效