Hello dWc,
Hello lebernd,
I opend port 40001 on the router/FW and a did a connection test to external IP/Hostname (http://public.dns:40001/guacamole/ - This is working, wow
This is working for http only - https gives me a “ERR_CONNECTION_CLOSED” and is not working at all (yet).
apachectl -M | grep proxy gives me:
proxy_module (shared)
proxy_connect_module (shared)
proxy_http_module (shared)
proxy_wstunnel_module (shared)
apachectl -M | grep headers gives me:
headers_module (shared)
apachectl -M | grep rewrite gives me:
rewrite_module (shared)
@lebernd: Ping to public DNS name works from insides Guacamole-shell.
This my config for the reverseproxy:
000-default.conf:
<VirtualHost *:80>
IncludeOptional /etc/apache2/ucs-sites.conf.d/*.conf
ProxyPass /guacamole/ http://127.0.0.1:40001/guacamole/ retry=0
ProxyPassReverse /guacamole/ http://127.0.0.1:40001/guacamole/
ProxyPass /owncloud http://127.0.0.1:40007/owncloud retry=0
ProxyPassReverse /owncloud http://127.0.0.1:40007/owncloud
ProxyPass /wordpress http://127.0.0.1:40002/wordpress retry=0
ProxyPassReverse /wordpress http://127.0.0.1:40002/wordpress
</VirtualHost>
default-ssl.conf:
<VirtualHost *:443>
IncludeOptional /etc/apache2/ucs-sites.conf.d/*.conf
SSLEngine on
SSLProxyEngine on
SSLProxyCheckPeerCN off
SSLProxyCheckPeerName off
SSLProxyCheckPeerExpire off
SSLCertificateFile /etc/univention/letsencrypt/signed_chain.crt
SSLCertificateKeyFile /etc/univention/letsencrypt/domain.key
SSLCACertificateFile /etc/univention/ssl/ucsCA/CAcert.pem
SSLCertificateChainFile /etc/univention/letsencrypt/intermediate.pem
#SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
### To enable special log format for HTTPS-access
# LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\" %p" combinedssl
# CustomLog /var/log/apache2/access.log combinedssl ## with port number
ProxyPass /guacamole/ http://127.0.0.1:40001/guacamole/ retry=0
ProxyPassReverse /guacamole/ http://127.0.0.1:40001/guacamole/
ProxyPass /owncloud http://127.0.0.1:40007/owncloud retry=0
ProxyPassReverse /owncloud http://127.0.0.1:40007/owncloud
ProxyPass /wordpress https://127.0.0.1:40003/wordpress retry=0
ProxyPassReverse /wordpress https://127.0.0.1:40003/wordpress
</VirtualHost>
Best regards
Thomas