Port Forward

Forum for questions and support relating to the 1.30.x releases only.
Post Reply
ov10fac
Posts: 26
Joined: Fri Aug 26, 2016 5:34 am

Port Forward

Post by ov10fac » Tue Aug 30, 2016 4:15 pm

I need to port forward my zoneminder so I can access it externally. I know how to do it on my router/firewall, but I can't port forward port 80 as the router uses this port for admin purposes.

I am running Fedora 24 server with zoneminder 1.30. It really works great and from inside the firewall I have no problems at all. So now I need to port forward using a port like 8181. Years ago I did port forwarding using port based virtualhost in Apache. But thats been a while, and it seems the newer versions of Apache use name based forwarding.

So, bottom line, is there any guidance on how to set up apache to port forward zoneminder.

Thanks.

mikb
Posts: 415
Joined: Mon Mar 25, 2013 12:34 pm

Re: Port Forward

Post by mikb » Tue Aug 30, 2016 5:51 pm

If you can't forward port 80, so that the outside world can see your ZM on port 80, then forward another port.

Although your router sounds a bit dim for hijacking port 80 for it's own use. No offence :)

Try: External IP address: Port 1234, forwarded to internal IP address of ZM machine: Port 80 ?

Assuming your router is bright enough to allow forwarding to a new port number, mine does.

If not, then you will need to edit your Apache config to work on a port other than 80, e.g. port 81/88/1234. Which will also affect local access (inside your network) to your webserver, meaning you'll need to use http://localmachine:81 to access it ...

mikb
Posts: 415
Joined: Mon Mar 25, 2013 12:34 pm

Re: Port Forward

Post by mikb » Tue Aug 30, 2016 5:55 pm

Just to add: My router, if I approach port 80 from the LAN side (internal) gives an admin page. If I approach it from the WAN side (external), port 80 gives nothing -- to stop people fiddling with the router! I turned off WAN access.

Additionally, it can still forward port 80 (external) to a different machine internally. Don't assume that just because port 80 is "the admin interface" that port 80 from the WAN side is not forwardable. Test with caution :)

ov10fac
Posts: 26
Joined: Fri Aug 26, 2016 5:34 am

Re: Port Forward

Post by ov10fac » Wed Aug 31, 2016 1:01 am

My router can pass port 80 no problems. The problem is trying to get to the /zm directory. When I am outside my router and try http://49.23.56.1:8080/zm things go wrong. I have some ideas including virtual hosts on apache.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest