蛰思园
—
由
手动运行:
sudo arp -s gateway_address gateway_mac iptables -t filter -A INPUT -s 可疑ip -i eth0 -j DROP
sudo arp -s gateway_address gateway_mac
iptables -t filter -A INPUT -s 可疑ip -i eth0 -j DROP
如果需要自动运行:
echo ‘arp -s gateway_address gateway_mac’ > /etc/ethers gedit /etc/rc.local
echo ‘arp -s gateway_address gateway_mac’ > /etc/ethers
gedit /etc/rc.local
加入如下行使其系统自动运行
arp -s /etc/ethers
您的电子邮箱地址不会被公开。 必填项已用 * 标注
评论 *
显示名称 *
电子邮箱地址 *
网站
在此浏览器中保存我的显示名称、邮箱地址和网站地址,以便下次评论时使用。
Δ
发表回复