In Ubuntu 16.04LTS, I typed the folllowing lines:
iptables -F
iptables -X
iptables -A INPUT -m mac --mac-source 1C:**:2C:**:72:**:78 -j ACCEPT
here is the result of iptables -L -nvx
.
I can't access my web server (port 80) with the machine that MAC address is
1C:**:2C:**:72:**:78
.
However, with rule iptables -P INPUT ACCESS
on the web server, it works well.
Could anyone give me any solution or advice for this?
Thanks.