OPNsense Forum

Archive => 17.7 Legacy Series => Topic started by: nullinger on December 04, 2017, 12:20:46 am

Title: HAProxy loses function after WAN IP-address change
Post by: nullinger on December 04, 2017, 12:20:46 am

i am using the current 17.7.8 release and have some problems with haproxy, which is used to access some surveillance cameras over https (port 7443). because i don't want ssl warnings due to the self-signed certificate of the surveillance-server, i use haproxy with the letsencrypt certificate of the opnsense itself to access the video system. my ISP resets my internet connection (PPPoE) every 24 hours, everytime a new ip address is assigned, so i use an own dyndns-service (updates every minute "opnsense.example.tld"). the both needed frontends are listening to opnsense.example.com:7443 and :7446, which is working fine until the wan ip address changes. after then, the video services are not reachable (timeout) until haproxy is disabled and enabled again (restart via lobby does not work), which in my opinion is caused by not automatically updating the frontend listener address with the newly assigned ip on ip change.

is there any way to fix or circumvent that ?