OPNsense Forum

Archive => 20.1 Legacy Series => Topic started by: mweis on April 12, 2020, 02:29:59 PM

Title: Unifi NVR behind HAproxy
Post by: mweis on April 12, 2020, 02:29:59 PM
hey folks,

i am trying to get a unifi nvr working behind haproxy. the interface is running on port 7443. The ui is running fine. but to get the video things working u need also port 7446 and not sure if also 10001. so u are not able to view any videos from the ui


https://help.ubnt.com/hc/en-us/articles/217875218-UniFi-Video-Ports-Used

the most solutions are for  nginx reverse proxy to solve this, but i get no clou to get this working with haproxy.

i found one config of haproxy, but i also not able to get this converted to my opnsense :(

https://pastebin.com/AQs5Wua4

maybe s.o. have some help..





Title: Re: Unifi NVR behind HAproxy
Post by: guest18661 on April 15, 2020, 04:44:06 AM
You shouldn't need haproxy for this. Just forward the ports listed on the linked page from your post to your NVR's IP and that should be all you need.