1
General Discussion / Re: Firewall configuration and gotify android application
« on: August 30, 2024, 02:00:21 am »
Hi,
Did you setup your firewall to pass http and https traffic of the ip and ports your Gotify server is listening on ?
If that didn't work try to add an nginx reverse proxy addon to opnsense and configure nginx to forward requests to gotify. If that didn't work either, try to enable websocket on the nginx reverse proxy (the gotify documentation doesn't indicate it is using websocket but i have seen some chatting programs using websocket and doesn't work if the reverse proxy didn't support it).
Don't forget to put the ip address of your firewall or reverse proxy on the variable trustedproxies of your /etc/gotify/config.yml or which ever is your gotify's config location.
Did you setup your firewall to pass http and https traffic of the ip and ports your Gotify server is listening on ?
If that didn't work try to add an nginx reverse proxy addon to opnsense and configure nginx to forward requests to gotify. If that didn't work either, try to enable websocket on the nginx reverse proxy (the gotify documentation doesn't indicate it is using websocket but i have seen some chatting programs using websocket and doesn't work if the reverse proxy didn't support it).
Don't forget to put the ip address of your firewall or reverse proxy on the variable trustedproxies of your /etc/gotify/config.yml or which ever is your gotify's config location.