I have been accessing ZM over the web with no problems. However I have now enabled "Authenticate user logins". I can still get the console externally but I cannot login.
I am assuming I need to open another port on my router. I already have 80,443 and 22 open. Any idea which one I need to open to allow my logon to be processed.
Thanks
Which ports to open for remote access
Re: Which ports to open for remote access
Standard port is 80, check the values you have:
/etc/apache2/ports.conf -> "NameVirtualHost *:80" and "Listen 80"
/etc/apache2/sites-enabled/000-default -> "<VirtualHost *:80>"
/etc/apache2/ports.conf -> "NameVirtualHost *:80" and "Listen 80"
/etc/apache2/sites-enabled/000-default -> "<VirtualHost *:80>"
After more than 15 years, no longer using ZM as surveillance system.
Now in the dark side, using a commercial system...
Re: Which ports to open for remote access
Hi, thanks for the advice. I have checked these files and all seems to be as you stated.
Just to explain a little further my issue.
If I enable "LogOn" to ZM in options I am challenged by a logon and password prompt to view the console. This is fine if I am on my local LAN, I can log in fine.
However when I access this page from outside my local LAN it will not let me pass through the logon page. It simply returns me to logon again.
I had assumed this might be to do with a blocked port on my router and not an issue with my Linux Server or ZM
Any ideas?
Just to explain a little further my issue.
If I enable "LogOn" to ZM in options I am challenged by a logon and password prompt to view the console. This is fine if I am on my local LAN, I can log in fine.
However when I access this page from outside my local LAN it will not let me pass through the logon page. It simply returns me to logon again.
I had assumed this might be to do with a blocked port on my router and not an issue with my Linux Server or ZM
Any ideas?
Re: Which ports to open for remote access
I had a similar problem. I determined that my router uses port 80 for configuration purposes. Thus, I had to use port 8080 for apache. Once I reassigned the port, everything worked fine.
Re: Which ports to open for remote access
Bob, thanks for the advice. Before I swap over the ports, I just wanted to check, had you enable your router for external administration ? My Netgear router uses 8080 for remote admin, but since I have not enabled remote admin I assume the two will not conflict.
I assume to change the port allocation for apache, I need to edit the files that Paco referred to?
Again thanks for you help
I assume to change the port allocation for apache, I need to edit the files that Paco referred to?
Again thanks for you help
Re: Which ports to open for remote access
I'm using a Linksys E2500 router. My remote management Access option is disabled. I also had to uncheck Filter Anonymous Internet Requests in the Security tab of my router to get remote access to ZM.
Yep, I had to do what Paco recommended. It's been a while since I did this but if memory serves me correctly I had to add an entry for port 8080 to /etc/apache2/ports.conf and I had to create a virtual host for 8080 in /etc/apache2/sites-enabled/000-default.
Finally I had to sudo ufw allow 8080
Doing all this allowed me to use port 8080 to remotely access ZM.
Yep, I had to do what Paco recommended. It's been a while since I did this but if memory serves me correctly I had to add an entry for port 8080 to /etc/apache2/ports.conf and I had to create a virtual host for 8080 in /etc/apache2/sites-enabled/000-default.
Finally I had to sudo ufw allow 8080
Doing all this allowed me to use port 8080 to remotely access ZM.
Re: Which ports to open for remote access
I'm doing it much different: External port - 8080, Internal port - 80, Protocol - both (TCP, UDP), To IP Address - internal address of ZM box, Enabled - checked.
Re: Which ports to open for remote access
SUCCESS, using port 8080 has done the trick, many thanks to all