How can I prevent access to the Ant Media Server Web Panel? #5123
-
How can I hide the Ant Media Server web panel from the public or anyone with a playback URL will be able to figure out how to get to the web panel login page? Is there a way to restrict Web Panel access to specific IPs and still deliver playback URLs on 443 or 5443? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
To restrict access to the Ant Media Server's web panel to specific IPs, you can follow these steps:
This will apply the new configuration, and only the specified IPs will be able to access the web panel. Thank you |
Beta Was this translation helpful? Give feedback.
To restrict access to the Ant Media Server's web panel to specific IPs, you can follow these steps:
Open the server configuration file, which is located at
/usr/local/antmedia/conf/red5.properties
Locate the property
server.allowed_dashboard_CIDR
within the configuration file. By default, it allows all IPs to access the web panel with the valueserver.allowed_dashboard_CIDR=0.0.0.0/0
Modify the configuration to specify the CIDR notation for the allowed IPs. For example, to allow access only from IP addresses 13.197.23.11/16 and 87.22.34.66/8, you would update the configuration as follows:
server.allowed_dashboard_CIDR=13.197.23.11/16,87.22.34.66/8
You can add multiple comma-separate…