In Ubuntu VPS server, openerp
is running and anyone can using this web interface. my vps server is: http:// <Public IP>:8069/
.
I want to allow some mac addresses and restrict to all. Here is my iptables
file:
iptables -A INPUT -p tcp --match multiport --dports 80,8069 -m mac --mac-source E0:CA:94:A7:C2:80 -j ACCEPT
iptables -A INPUT -p tcp --match multiport --dports 80,8069 -m mac --mac-source 4C:72:B9:0D:D5:B7 -j ACCEPT
iptables -A INPUT -p tcp --match multiport --dports 80,8069 -j DROP
But it's not work. Would you please anyone help me.
What should I do ?