Linux防火墙禁止IP访问的方法有以下几种:使用命令:
Linux防火墙禁止IP访问的方法有以下几种:
1、使用iptables命令:
iptables -A INPUT -s
2、使用firewalld:
firewall-cmd --permanent --add-rich-rule='rule family="ipv4" source address="
3、使用ufw:
ufw deny from
4、使用nftables:
nft add rule ip filter input ip saddr
本站系公益性非盈利分享网址,本文来自用户投稿,不代表码文网立场,如若转载,请注明出处
评论列表(46条)