Community mailing list archives

community@mail.odoo.com

Re: Restrict access base IP address

by
rblasco
- 07/15/2015 05:23:04
Hi,

You would like to check:

Odoo - Reverse Proxy HowTo

Presentation about how to install and configure an reverse proxy with Apache2.4/Nginx to serve Odoo v8 applications

Install Nginx 1.4 as reverse proxy
Install Apache 2.4 as reverse proxy
ReverseProxy to Odoo with

workers = 1
workers > 1

SSL setting up

Redirect HTTP to HTTPS
Creating a PKI using XCA

Access restriction

via source IP ranges
via client certificate


See the presentation online


From Antiun - > https://github.com/Antiun/odoo-reverse-proxy-howto


Regards,
Rafael




On Wed, Jul 15, 2015 at 10:27 AM, kwaye kant <gabrielkwaye@gmail.com> wrote:
Dear all,

My company has many offices in the town. All the offices are connected to the head office through  a VPN. And each office has a public IP address. Odoo is installed on the central server at the Head office.

Well,
I need the users to connect on Odoo ONLY from their office.
If I send one user to Office1 that user should connect only at that office with the IP address not at the Office2.

So what I need to set the connection process in Odoo. All the office should have an IP address set the database.
On each connection Odoo must get the IP address of the current user and check if that IP address is the one associated to this Office.

So on Odoo,
1. How can I get the user IP address ?
2. How is the login process works ? 

Were should I start to handle this ?

I need a guide

--
------------------------------------------------------------------------------------------------------------------------------------------------
Kwaye Kant

Skype: g.kwaye
(00) 237 677315145
Douala - Cameroon

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe