Using HTTP Proxy in the Wavestore
If desired, it is possible to use the Wavestore as an HTTP proxy. This might be useful if you need to connect to a camera web page which is not accessible directly from your browser. This also supports HTTPS proxy and HTTP/2 protocol over HTTPS.
- Enable HTTP Server on the Wavestore server (under Setup | Server | Miscellaneous | ONVIF Services)
- Using the configuration editor, add HttpProxy=y to the [ONVIF] section.
- The Wavestore server will prompt for a restart at this point (menu path Server -> General -> Restart Process).
- Set your browser's Proxy field to the Wavestore server IP address, and set the Proxy username and password to a valid username and password of the Wavestore. If asked for a port number, use port 80. Not all browsers support this: Firefox has an HTTP proxy field which works, but Chrome and Edge do not, and direct you to the operating system proxy settings which might affect other applications on the PC.
Now connect to the cameras using the Browser as usual, and the connection will go via the Wavestore server.
The Proxy will use Basic authentication, so ideally use a Wavestore username/password which does not have many permissions (user-level, not install-level).
Usually on first connection, the browser will prompt you to enter the Wavestore server username and password. Followed by another login box for the camera GUI's username and password.
Normally, HTTPS proxy allows connection only to ports 80, 443, 8080 and 8443 (the normal and alternative HTTP and HTTPS ports). Other ports are restricted to prevent security exploits using the proxy (for example, tunnelling SSH over an HTTPS proxy). Other ports can be allowed by setting HttpProxyAll=y. Note that HTTP ports are not restricted as the proxy enforces HTTP protocol, only HTTPS (CONNECT) ports are restricted.
Normally the proxy does not attempt to resolve server names, so all IP addresses must be numeric. It is unlikely that DNS names will be set for cameras or other items being accessed in a restricted network behind a Wavestore Server, so this is disabled by default. If it is desired to resolve DNS names, set HttpProxyDns=y and ensure a DNS server is configured on the Wavestore Server network setup section. Enabling this option when DNS is not configured can slow down access.
The HTTP proxy feature is available from 6.24. The HTTPS proxy is available from 6.38.