Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a way to secure Matomo admin page? #19755

Closed
jrca025 opened this issue Sep 22, 2022 · 4 comments
Closed

Is there a way to secure Matomo admin page? #19755

jrca025 opened this issue Sep 22, 2022 · 4 comments
Labels
answered For when a question was asked and we referred to forum or answered it.

Comments

@jrca025
Copy link

jrca025 commented Sep 22, 2022

We want to secure the Matomo admin page so it is not accessible publicly. As per checking, all admin pages is located in 10.1.0.2/index.php. Basically we want to put Cloudflare Access/Tunnel on this specific path while still keeping the main IP 10.1.0.2 still open to public for tracking requests

@jrca025 jrca025 added the Potential Bug Something that might be a bug, but can't be reproduced (yet). label Sep 22, 2022
@bx80
Copy link
Contributor

bx80 commented Sep 22, 2022

Hi @jrca025, thanks for reaching out.

As you've identified the admin page functions do not have a separate URL or page so they can't be restricted by simple path.
Depending on the options available to you for creating access rules, it may be possible to restrict access to 10.1.02/index.php?module=CoreAdminHome which is the module containing the administration functions.

@bx80 bx80 added answered For when a question was asked and we referred to forum or answered it. and removed Potential Bug Something that might be a bug, but can't be reproduced (yet). labels Sep 22, 2022
@bx80 bx80 closed this as completed Sep 22, 2022
@jrca025
Copy link
Author

jrca025 commented Sep 22, 2022

@bx80 do you have any guides/doc for use-case like this?

@MatomoForumNotifications

This issue has been mentioned on Matomo forums. There might be relevant details there:

https://forum.matomo.org/t/is-there-a-way-to-secure-the-matomo-admin-page/47448/2

@bx80
Copy link
Contributor

bx80 commented Sep 22, 2022

Unfortunately this is very much dependent on the service you use to do the blocking, Cloudflare have a number of different products so it would be best to refer to their documentation at https://developers.cloudflare.com/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
answered For when a question was asked and we referred to forum or answered it.
Projects
None yet
Development

No branches or pull requests

3 participants