Community mailing list archives

Re: Restrict access base IP address

Eric Caudal
- 07/15/2015 04:59:20
I think it should be more nginx to handle with the filtering than Odoo. 

On Wed, Jul 15, 2015 at 4:42 PM PraVeeN KuMaR YaDaV <> wrote:
Hello Kwaye,
There is a Module available on launchpad name- "network_audit". for tacking user login details including IP.

On Wed, Jul 15, 2015 at 1:57 PM, kwaye kant <> 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.

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

Post to:

With Regards,

Post to: