LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   Ubuntu VPS > restrict openerp for some user (https://www.linuxquestions.org/questions/ubuntu-63/ubuntu-vps-restrict-openerp-for-some-user-4175488081/)

iftikhar.tutul 12-15-2013 11:49 PM

Ubuntu VPS > restrict openerp for some user
 
In my 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 ?

pan64 12-16-2013 12:49 AM

duplicate of https://www.linuxquestions.org/quest...er-4175488079/

unSpawn 12-16-2013 12:57 AM

Please post your thread once and in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.


All times are GMT -5. The time now is 05:12 PM.