LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Closed Thread
  Search this Thread
Old 12-15-2013, 11:49 PM   #1
iftikhar.tutul
LQ Newbie
 
Registered: Sep 2011
Location: Bangladesh
Posts: 22

Rep: Reputation: Disabled
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:0D5: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 ?
 
Old 12-16-2013, 12:49 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,786

Rep: Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304
duplicate of https://www.linuxquestions.org/quest...er-4175488079/
 
Old 12-16-2013, 12:57 AM   #3
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
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.
 
  


Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu VPS > restrict openerp for some user iftikhar.tutul Linux - Server 1 12-16-2013 02:10 AM
add ftp user in ubuntu vps Juc1 Linux - Newbie 4 03-19-2013 06:54 PM
Postfix authenticating user@domain and restrict user to access linux box LinuxGreen Linux - Newbie 1 12-16-2011 10:00 AM
LXer: How To Install OpenERP 6 On Ubuntu 10.04 LTS Server LXer Syndicated Linux News 0 07-22-2011 09:51 AM
LXer: Installation Of OpenERP Server On Ubuntu Server 9.04 LXer Syndicated Linux News 0 06-26-2009 01:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 03:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration