vi /etc/sysconfig/iptables
-A INPUT -s x.x.x.x -p tcp --dport 8080 -m mac --mac-source 11:22:33:44:55:66 -j ACCEPT
本文出自 “Ilovecat(个人笔记)” 博客,请务必保留此出处http://hj192837.blog.51cto.com/655995/1557267
iptables限制源IP和MAC地址
原文:http://hj192837.blog.51cto.com/655995/1557267