Availability |
Odoo Online
Odoo.sh
On Premise
|
Odoo Apps Dependencies |
Discuss (mail)
|
Lines of code | 244 |
Technical Name |
azk_whitelist_ip_restrictions |
License | AGPL-3 |
Website | https://azka.tech |
Versions | 14.0 15.0 16.0 17.0 18.0 |

Introduction
Allows for the implementation of IP restrictions based on specific routes, with the ability to permit or deny access from certain IP addresses. This feature includes route matching by Regex and supports IP ranges and networks.
Key Features
- Two methods available for applying IP Whitelisting:
- Allow Only Listed IPs: Grant access to Listed IPs only, so deny any unknown IP.
- Deny Listed IPs: Deny all listed IPs, and grant access from any other IPs else.
- Three ways to match route:
- Exact Match: Matching route as exact value comparison with defined Route value.
- Prefix: Accept all routes that started with defined Route.
- Regex Matching: Advanced matching using Regex with defined Route.
- IPs List takes three formats:
- Specific IP: simple IP, ex. 192.168.x.x
- Network IP with Subnet Mask: Add Network IP at "Allowed IP" and specify the "Subnet Mask"
- IP Ranges: IP followed with range: ex.173.245.48.0/20
- Include Full URL to compare base URL starting from http to control domain and sub-domain too
- Advanced Headers check:
- Check request's headers if contain value for specific header key: ex. to validate request has cookies, add HTTP_COOKIE as key with Empty value, so it match if cookies exist regardless values
- Check specific header if exist and match its value: ex. to validate request host, add HTTP_HOST as key and www.azka.tech as value, so it looks for request host and compare the value
How it Works
- Activate Whitelisting IP Restrictions
- To go IP Whitelisting from Settings -> IP Whitelisting or Settings ->
Technical -> IP Whitelisting.
- Sample:
Suggested Apps
Our Services

Odoo
Consultancy

Odoo
Implementation

Odoo
Customization

Odoo
Integration

Odoo
Data Migration

Odoo
Training

Odoo
Support
Please log in to comment on this module
Report comment
Any abuse of this reporting system will be penalizedThere are no ratings yet!
Dear Lynn,
the version 18 is available.
Regards
Dear Lynn,
It will be released before end of Feb
Version 18?
This is an excellent app! When will version 18 be available?
Functional question
I want to restrict:
- Access to the Odoo ERP functions that requires a internal user.
And allow:
- Access to Website and eCommerce.
- Access to sign and pay online.
- Access to the user portal.
Is it possible with this module?
--
Thanks in advance.
I want to restrict:
- Access to the Odoo ERP functions that requires a internal user.
And allow:
- Access to Website and eCommerce.
- Access to sign and pay online.
- Access to the user portal.
Is it possible with this module?
--
Thanks in advance.
Hello !
Does it works with external API or just web interface only ?
Re:
Dear,
This module will check for the external IP. Thus, if you are on DSL then the IP that shows is the external IP and not internal. If on premises and accessing on the local network then it works on internal IP.
Let us know your use case and setup to be able to answer you better