1 (edited by iRedDale 2024-04-04 01:01:55)

Topic: Sollved - Restricting iRedAdmin access to specific networks

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.6.8
- Deployed with iRedMail Easy or the downloadable installer? download
- Linux/BSD distribution name and version: Ubuntu 22.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): PGSQL
- Web server (Apache or Nginx): nginx
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
This is a pretty old post, but is this still true?

https://forum.iredmail.org/post54444.html#p54444

No way to restrict iRedAdmin access to certain private networks?

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2 (edited by Cthulhu 2024-04-04 00:38:04)

Re: Sollved - Restricting iRedAdmin access to specific networks

https://www.cyberciti.biz/faq/linux-uni … rol-howto/

since iredadmin is running with uwsgi, it's access is proxied via nginx configuration

you find the configuration under nginx/templates/iredadmin.tmpl

# Access control
    #allow 127.0.0.1;
    #allow 192.168.1.10;
    #allow 192.168.1.0/24;
    #deny all;

first you whitelist to a specific ip/subnet, then you blacklist everything else

Important: you need to restart nginx afterwards to make its changes take effect

I hope this solves you request

3

Re: Sollved - Restricting iRedAdmin access to specific networks

It does -- thank you very, very much!