Community mailing list archives

community@mail.odoo.com

Restrict access base IP address

by
Kwaye Kant
- 07/15/2015 04:24:52
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