On Tue, Dec 10, 2019 at 11:10 AM paulr4444 <[email protected]> wrote:
> I caught this in developer mode yesterday. My settings were pulled from the > chapter 4 documentation which has a type-o. Below is under apache in > chapter > 4. > > Where's the typo? It looks fine to me - the example you posted below is using port 8080 (non-encrypted), which should be ws:// (not wss://). You were using port 8443 (encrypted), which should be wss://. > Proxying the WebSocket tunnel > Apache will not automatically proxy WebSocket connections, but you can > proxy > them separately with Apache 2.4.5 and later using mod_proxy_wstunnel. After > enabling mod_proxy_wstunnel a secondary Location section can be added which > explicitly proxies the Guacamole WebSocket tunnel, located at > /guacamole/websocket-tunnel: > > <Location /guacamole/websocket-tunnel> > Order allow,deny > Allow from all > ProxyPass ws://HOSTNAME:8080/guacamole/websocket-tunnel > ProxyPassReverse ws://HOSTNAME:8080/guacamole/websocket-tunnel > </Location> > > Next on my list is getting the remote host to log correctly when using the > proxy server. Currently it is logging the IP of the sever not the > connecting > host when using the proxy. I'll create another post if i can't figure it > out. > > There are instructions for that, here: http://guacamole.apache.org/doc/gug/proxying-guacamole.html#tomcat-remote-ip -Nick
