Hello,
with this combination I have no popups:
Client Outlook 2021 LTSC:
I had to set this Value also with the Sophos UTM!
Opnsense:
/usr/local/etc/apache24/httpd.conf (enable prefork)
/usr/local/etc/apache24/Includes/gateway_vhosts.conf (no manual modifications):
with this combination I have no popups:
Client Outlook 2021 LTSC:
Code Select
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\16.0\Outlook\AutoDiscover]
"ExcludeExplicitO365Endpoint"=dword:00000001I had to set this Value also with the Sophos UTM!
Opnsense:
/usr/local/etc/apache24/httpd.conf (enable prefork)
Code Select
#LoadModule mpm_event_module libexec/apache24/mod_mpm_event.so
LoadModule mpm_prefork_module libexec/apache24/mod_mpm_prefork.so/usr/local/etc/apache24/Includes/gateway_vhosts.conf (no manual modifications):
Code Select
ServerName mail.example.com
Listen 443
<VirtualHost *:443>
ServerName mail.example.com
Options -FollowSymLinks
Options -Indexes
Options -ExecCGI
LogLevel warn
ProxyRequests Off
RequestHeader set X-Forwarded-Proto "https"
SSLProxyEngine On
SSLProxyCheckPeerName On
SSLProxyCheckPeerExpire On
SSLEngine on
Protocols h2 http/1.1
SSLCertificateFile /var/etc/apache_eac36b99-b701-45a0-a828-384d46ad7114.pem
SSLCertificateKeyFile /var/etc/apache_eac36b99-b701-45a0-a828-384d46ad7114.key
# https://wiki.mozilla.org/Security/Server_Side_TLS
# TLS Intermediate configuration
SSLProtocol all -SSLv3 -TLSv1 -TLSv1.1
SSLCipherSuite ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:DHE-RSA-CHACHA20-POLY1305
SSLHonorCipherOrder off
SSLCompression off
SSLSessionTickets off
SSLOptions +StrictRequire
SSLUseStapling On
# Start ExchangeHttps
OutlookAnywherePassthrough On
Header always set X-Frame-Options SAMEORIGIN
Header set Server Apache
Header unset X-AspNet-Version
Header unset X-OWA-Version
Header unset X-Powered-By
RequestHeader unset Expect early
ProxyRequests Off
ProxyPreserveHost On
ProxyVia Full
RequestHeader edit Transfer-Encoding Chunked chunked early
RequestHeader unset Accept-Encoding
TimeOut 1800
# Change Character set to allow umlaute
AddDefaultCharset ISO-8859-1
# Redirect to owa (Outlook Web Access)
Redirect / /owa/
# Allow sending large files via attachement in Active Sync > 128KByte (new value 30MB)
<Directory /Microsoft-Server-ActiveSync>
SSLRenegBufferSize 31457280
</Directory>
<Location /owa>
ProxyPass https://192.168.80.112/owa
ProxyPassReverse https://192.168.80.112/owa
</Location>
<Location /OWA>
ProxyPass https://192.168.80.112/OWA
ProxyPassReverse https://192.168.80.112/OWA
</Location>
<Location /Owa>
ProxyPass https://192.168.80.112/Owa
ProxyPassReverse https://192.168.80.112/Owa
</Location>
<Location /ecp>
ProxyPass https://192.168.80.112/ecp
ProxyPassReverse https://192.168.80.112/ecp
</Location>
<Location /ECP>
ProxyPass https://192.168.80.112/ECP
ProxyPassReverse https://192.168.80.112/ECP
</Location>
<Location /Ecp>
ProxyPass https://192.168.80.112/Ecp
ProxyPassReverse https://192.168.80.112/Ecp
</Location>
<Location /mapi>
ProxyPass https://192.168.80.112/mapi
ProxyPassReverse https://192.168.80.112/mapi
</Location>
<Location /ews>
ProxyPass https://192.168.80.112/ews
ProxyPassReverse https://192.168.80.112/ews
</Location>
<Location /EWS>
ProxyPass https://192.168.80.112/EWS
ProxyPassReverse https://192.168.80.112/EWS
</Location>
<Location /Ews>
ProxyPass https://192.168.80.112/Ews
ProxyPassReverse https://192.168.80.112/Ews
</Location>
<Location /exchange>
ProxyPass https://192.168.80.112/exchange
ProxyPassReverse https://192.168.80.112/exchange
</Location>
<Location /Exchange>
ProxyPass https://192.168.80.112/Exchange
ProxyPassReverse https://192.168.80.112/Exchange
</Location>
<Location /exchweb>
ProxyPass https://192.168.80.112/exchweb
ProxyPassReverse https://192.168.80.112/exchweb
</Location>
<Location /public>
ProxyPass https://192.168.80.112/public
ProxyPassReverse https://192.168.80.112/public
</Location>
<Location /oab>
ProxyPass https://192.168.80.112/oab
ProxyPassReverse https://192.168.80.112/oab
</Location>
<Location /OAB>
ProxyPass https://192.168.80.112/OAB
ProxyPassReverse https://192.168.80.112/OAB
</Location>
<Location /rpc>
ProxyPass https://192.168.80.112/rpc
ProxyPassReverse https://192.168.80.112/rpc
</Location>
<Location /Rpc>
ProxyPass https://192.168.80.112/Rpc
ProxyPassReverse https://192.168.80.112/Rpc
</Location>
<Location /Microsoft-Server-ActiveSync>
ProxyPass https://192.168.80.112/Microsoft-Server-ActiveSync connectiontimeout=900
ProxyPassReverse https://192.168.80.112/Microsoft-Server-ActiveSync
</Location>
<Location /autodiscover>
ProxyPass https://192.168.80.112/autodiscover
ProxyPassReverse https://192.168.80.112/autodiscover
</Location>
<Location /Autodiscover>
ProxyPass https://192.168.80.112/Autodiscover
ProxyPassReverse https://192.168.80.112/Autodiscover
</Location>
<Location /AutoDiscover>
ProxyPass https://192.168.80.112/AutoDiscover
ProxyPassReverse https://192.168.80.112/AutoDiscover
</Location>
# End ExchangeHttps
<Location "/__waf_errors__">
ProxyPass "!"
<RequireAny>
# error pages are allowed for all.
Require all granted
</RequireAny>
</Location>
Alias "/__waf_errors__" "/usr/local/opnsense/data/OPNWAF/errors/default"
ErrorDocument 400 /__waf_errors__/400.html
ErrorDocument 401 /__waf_errors__/401.html
ErrorDocument 403 /__waf_errors__/403.html
ErrorDocument 404 /__waf_errors__/404.html
ErrorDocument 408 /__waf_errors__/408.html
ErrorDocument 500 /__waf_errors__/500.html
ErrorDocument 502 /__waf_errors__/502.html
ErrorDocument 504 /__waf_errors__/504.html
</VirtualHost>
<VirtualHost *:443>
ServerName autodiscover.example.com
Options -FollowSymLinks
Options -Indexes
Options -ExecCGI
LogLevel warn
ProxyRequests Off
RequestHeader set X-Forwarded-Proto "https"
SSLProxyEngine On
SSLProxyCheckPeerName On
SSLProxyCheckPeerExpire On
SSLEngine on
Protocols h2 http/1.1
SSLCertificateFile /var/etc/apache_3a95ed6e-9594-4345-872e-f5a7570a6c03.pem
SSLCertificateKeyFile /var/etc/apache_3a95ed6e-9594-4345-872e-f5a7570a6c03.key
# https://wiki.mozilla.org/Security/Server_Side_TLS
# TLS Intermediate configuration
SSLProtocol all -SSLv3 -TLSv1 -TLSv1.1
SSLCipherSuite ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:DHE-RSA-CHACHA20-POLY1305
SSLHonorCipherOrder off
SSLCompression off
SSLSessionTickets off
SSLOptions +StrictRequire
SSLUseStapling On
# Start ExchangeHttps
OutlookAnywherePassthrough On
Header always set X-Frame-Options SAMEORIGIN
Header set Server Apache
Header unset X-AspNet-Version
Header unset X-OWA-Version
Header unset X-Powered-By
RequestHeader unset Expect early
ProxyRequests Off
ProxyPreserveHost On
ProxyVia Full
RequestHeader edit Transfer-Encoding Chunked chunked early
RequestHeader unset Accept-Encoding
TimeOut 1800
# Change Character set to allow umlaute
AddDefaultCharset ISO-8859-1
# Redirect to owa (Outlook Web Access)
Redirect / /owa/
# Allow sending large files via attachement in Active Sync > 128KByte (new value 30MB)
<Directory /Microsoft-Server-ActiveSync>
SSLRenegBufferSize 31457280
</Directory>
<Location /owa>
ProxyPass https://192.168.80.112/owa
ProxyPassReverse https://192.168.80.112/owa
</Location>
<Location /OWA>
ProxyPass https://192.168.80.112/OWA
ProxyPassReverse https://192.168.80.112/OWA
</Location>
<Location /Owa>
ProxyPass https://192.168.80.112/Owa
ProxyPassReverse https://192.168.80.112/Owa
</Location>
<Location /ecp>
ProxyPass https://192.168.80.112/ecp
ProxyPassReverse https://192.168.80.112/ecp
</Location>
<Location /ECP>
ProxyPass https://192.168.80.112/ECP
ProxyPassReverse https://192.168.80.112/ECP
</Location>
<Location /Ecp>
ProxyPass https://192.168.80.112/Ecp
ProxyPassReverse https://192.168.80.112/Ecp
</Location>
<Location /mapi>
ProxyPass https://192.168.80.112/mapi
ProxyPassReverse https://192.168.80.112/mapi
</Location>
<Location /ews>
ProxyPass https://192.168.80.112/ews
ProxyPassReverse https://192.168.80.112/ews
</Location>
<Location /EWS>
ProxyPass https://192.168.80.112/EWS
ProxyPassReverse https://192.168.80.112/EWS
</Location>
<Location /Ews>
ProxyPass https://192.168.80.112/Ews
ProxyPassReverse https://192.168.80.112/Ews
</Location>
<Location /exchange>
ProxyPass https://192.168.80.112/exchange
ProxyPassReverse https://192.168.80.112/exchange
</Location>
<Location /Exchange>
ProxyPass https://192.168.80.112/Exchange
ProxyPassReverse https://192.168.80.112/Exchange
</Location>
<Location /exchweb>
ProxyPass https://192.168.80.112/exchweb
ProxyPassReverse https://192.168.80.112/exchweb
</Location>
<Location /public>
ProxyPass https://192.168.80.112/public
ProxyPassReverse https://192.168.80.112/public
</Location>
<Location /oab>
ProxyPass https://192.168.80.112/oab
ProxyPassReverse https://192.168.80.112/oab
</Location>
<Location /OAB>
ProxyPass https://192.168.80.112/OAB
ProxyPassReverse https://192.168.80.112/OAB
</Location>
<Location /rpc>
ProxyPass https://192.168.80.112/rpc
ProxyPassReverse https://192.168.80.112/rpc
</Location>
<Location /Rpc>
ProxyPass https://192.168.80.112/Rpc
ProxyPassReverse https://192.168.80.112/Rpc
</Location>
<Location /Microsoft-Server-ActiveSync>
ProxyPass https://192.168.80.112/Microsoft-Server-ActiveSync connectiontimeout=900
ProxyPassReverse https://192.168.80.112/Microsoft-Server-ActiveSync
</Location>
<Location /autodiscover>
ProxyPass https://192.168.80.112/autodiscover
ProxyPassReverse https://192.168.80.112/autodiscover
</Location>
<Location /Autodiscover>
ProxyPass https://192.168.80.112/Autodiscover
ProxyPassReverse https://192.168.80.112/Autodiscover
</Location>
<Location /AutoDiscover>
ProxyPass https://192.168.80.112/AutoDiscover
ProxyPassReverse https://192.168.80.112/AutoDiscover
</Location>
# End ExchangeHttps
<Location "/__waf_errors__">
ProxyPass "!"
<RequireAny>
# error pages are allowed for all.
Require all granted
</RequireAny>
</Location>
Alias "/__waf_errors__" "/usr/local/opnsense/data/OPNWAF/errors/default"
ErrorDocument 400 /__waf_errors__/400.html
ErrorDocument 401 /__waf_errors__/401.html
ErrorDocument 403 /__waf_errors__/403.html
ErrorDocument 404 /__waf_errors__/404.html
ErrorDocument 408 /__waf_errors__/408.html
ErrorDocument 500 /__waf_errors__/500.html
ErrorDocument 502 /__waf_errors__/502.html
ErrorDocument 504 /__waf_errors__/504.html
</VirtualHost>
<Proxy balancer://43438267-8453-4c41-86c5-6f4b41d3dcac>
BalancerMember https://web02.example.com
</Proxy>
<VirtualHost *:443>
ServerName stage.kuguar.ch
Options -FollowSymLinks
Options -Indexes
Options -ExecCGI
LogLevel warn
ProxyRequests Off
RequestHeader set X-Forwarded-Proto "https"
SSLProxyEngine On
SSLProxyCheckPeerName On
SSLProxyCheckPeerExpire On
SSLEngine on
Protocols h2 http/1.1
SSLCertificateFile /var/etc/apache_29a381c7-cd21-4964-aeb7-e2ac011c6500.pem
SSLCertificateKeyFile /var/etc/apache_29a381c7-cd21-4964-aeb7-e2ac011c6500.key
# https://wiki.mozilla.org/Security/Server_Side_TLS
# TLS Intermediate configuration
SSLProtocol all -SSLv3 -TLSv1 -TLSv1.1
SSLCipherSuite ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:DHE-RSA-CHACHA20-POLY1305
SSLHonorCipherOrder off
SSLCompression off
SSLSessionTickets off
SSLOptions +StrictRequire
SSLUseStapling On
<Location "/">
ProxyPreserveHost Off
ProxyPass "balancer://43438267-8453-4c41-86c5-6f4b41d3dcac/"
ProxyPassReverse "balancer://43438267-8453-4c41-86c5-6f4b41d3dcac/"
</Location>
<Location "/__waf_errors__">
ProxyPass "!"
<RequireAny>
# error pages are allowed for all.
Require all granted
</RequireAny>
</Location>
Alias "/__waf_errors__" "/usr/local/opnsense/data/OPNWAF/errors/default"
ErrorDocument 400 /__waf_errors__/400.html
ErrorDocument 401 /__waf_errors__/401.html
ErrorDocument 403 /__waf_errors__/403.html
ErrorDocument 404 /__waf_errors__/404.html
ErrorDocument 408 /__waf_errors__/408.html
ErrorDocument 500 /__waf_errors__/500.html
ErrorDocument 502 /__waf_errors__/502.html
ErrorDocument 504 /__waf_errors__/504.html
</VirtualHost>
<Proxy balancer://35e073ae-4c24-45ec-b1e4-3a88e02b3f91>
BalancerMember https://web01.example.com
</Proxy>
<VirtualHost *:443>
ServerName stage.example.com
Options -FollowSymLinks
Options -Indexes
Options -ExecCGI
LogLevel warn
ProxyRequests Off
RequestHeader set X-Forwarded-Proto "https"
SSLProxyEngine On
SSLProxyCheckPeerName On
SSLProxyCheckPeerExpire On
SSLEngine on
Protocols h2 http/1.1
SSLCertificateFile /var/etc/apache_769da8bf-3d71-4cf0-ac1e-bc331edbfb1d.pem
SSLCertificateKeyFile /var/etc/apache_769da8bf-3d71-4cf0-ac1e-bc331edbfb1d.key
# https://wiki.mozilla.org/Security/Server_Side_TLS
# TLS Intermediate configuration
SSLProtocol all -SSLv3 -TLSv1 -TLSv1.1
SSLCipherSuite ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:DHE-RSA-CHACHA20-POLY1305
SSLHonorCipherOrder off
SSLCompression off
SSLSessionTickets off
SSLOptions +StrictRequire
SSLUseStapling On
<Location "/">
ProxyPreserveHost Off
ProxyPass "balancer://35e073ae-4c24-45ec-b1e4-3a88e02b3f91/"
ProxyPassReverse "balancer://35e073ae-4c24-45ec-b1e4-3a88e02b3f91/"
</Location>
# Add HSTS header
Header always merge Strict-Transport-Security "max-age=63072000; includeSubdomains; preload"
# Add security and privacy related headers
Header set Content-Security-Policy "default-src 'self'; upgrade-insecure-requests;"
Header always edit Set-Cookie (.*) "$1; HttpOnly; Secure"
Header set X-Content-Type-Options "nosniff"
Header set X-XSS-Protection "1; mode=block"
Header set Referrer-Policy "strict-origin"
Header set X-Frame-Options "deny"
SetEnv modHeadersAvailable true
<Location "/__waf_errors__">
ProxyPass "!"
<RequireAny>
# error pages are allowed for all.
Require all granted
</RequireAny>
</Location>
Alias "/__waf_errors__" "/usr/local/opnsense/data/OPNWAF/errors/default"
ErrorDocument 400 /__waf_errors__/400.html
ErrorDocument 401 /__waf_errors__/401.html
ErrorDocument 403 /__waf_errors__/403.html
ErrorDocument 404 /__waf_errors__/404.html
ErrorDocument 408 /__waf_errors__/408.html
ErrorDocument 500 /__waf_errors__/500.html
ErrorDocument 502 /__waf_errors__/502.html
ErrorDocument 504 /__waf_errors__/504.html
</VirtualHost>
<Proxy balancer://fbc2840d-4c18-414f-8992-fd55b1aa214e>
BalancerMember https://web01.example.com
</Proxy>
<VirtualHost *:443>
ServerName www.example.com
Options -FollowSymLinks
Options -Indexes
Options -ExecCGI
LogLevel warn
ProxyRequests Off
RequestHeader set X-Forwarded-Proto "https"
SSLProxyEngine On
SSLProxyCheckPeerName On
SSLProxyCheckPeerExpire On
SSLEngine on
Protocols h2 http/1.1
SSLCertificateFile /var/etc/apache_51189fe3-1283-4171-a589-96e73f7d5666.pem
SSLCertificateKeyFile /var/etc/apache_51189fe3-1283-4171-a589-96e73f7d5666.key
# https://wiki.mozilla.org/Security/Server_Side_TLS
# TLS Intermediate configuration
SSLProtocol all -SSLv3 -TLSv1 -TLSv1.1
SSLCipherSuite ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:DHE-RSA-CHACHA20-POLY1305
SSLHonorCipherOrder off
SSLCompression off
SSLSessionTickets off
SSLOptions +StrictRequire
SSLUseStapling On
<Location "/">
ProxyPreserveHost Off
ProxyPass "balancer://fbc2840d-4c18-414f-8992-fd55b1aa214e/"
ProxyPassReverse "balancer://fbc2840d-4c18-414f-8992-fd55b1aa214e/"
</Location>
<Location "/__waf_errors__">
ProxyPass "!"
<RequireAny>
# error pages are allowed for all.
Require all granted
</RequireAny>
</Location>
Alias "/__waf_errors__" "/usr/local/opnsense/data/OPNWAF/errors/default"
ErrorDocument 400 /__waf_errors__/400.html
ErrorDocument 401 /__waf_errors__/401.html
ErrorDocument 403 /__waf_errors__/403.html
ErrorDocument 404 /__waf_errors__/404.html
ErrorDocument 408 /__waf_errors__/408.html
ErrorDocument 500 /__waf_errors__/500.html
ErrorDocument 502 /__waf_errors__/502.html
ErrorDocument 504 /__waf_errors__/504.html
</VirtualHost>
<Proxy balancer://ff902e1b-b680-4227-827c-f60408e17474>
BalancerMember https://web01.example.com
</Proxy>
<VirtualHost *:443>
ServerName example.com
Options -FollowSymLinks
Options -Indexes
Options -ExecCGI
LogLevel warn
ProxyRequests Off
RequestHeader set X-Forwarded-Proto "https"
SSLProxyEngine On
SSLProxyCheckPeerName On
SSLProxyCheckPeerExpire On
SSLEngine on
Protocols h2 http/1.1
SSLCertificateFile /var/etc/apache_aeb2e6dd-c10e-4cd5-b4aa-bbf5cde41d88.pem
SSLCertificateKeyFile /var/etc/apache_aeb2e6dd-c10e-4cd5-b4aa-bbf5cde41d88.key
# https://wiki.mozilla.org/Security/Server_Side_TLS
# TLS Intermediate configuration
SSLProtocol all -SSLv3 -TLSv1 -TLSv1.1
SSLCipherSuite ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:DHE-RSA-CHACHA20-POLY1305
SSLHonorCipherOrder off
SSLCompression off
SSLSessionTickets off
SSLOptions +StrictRequire
SSLUseStapling On
<Location "/">
ProxyPreserveHost Off
ProxyPass "balancer://ff902e1b-b680-4227-827c-f60408e17474/"
ProxyPassReverse "balancer://ff902e1b-b680-4227-827c-f60408e17474/"
</Location>
# Add HSTS header
Header always merge Strict-Transport-Security "max-age=63072000; includeSubdomains; preload"
# Add security and privacy related headers
Header set Content-Security-Policy "default-src 'self'; upgrade-insecure-requests;"
Header always edit Set-Cookie (.*) "$1; HttpOnly; Secure"
Header set X-Content-Type-Options "nosniff"
Header set X-XSS-Protection "1; mode=block"
Header set Referrer-Policy "strict-origin"
Header set X-Frame-Options "deny"
SetEnv modHeadersAvailable true
<Location "/__waf_errors__">
ProxyPass "!"
<RequireAny>
# error pages are allowed for all.
Require all granted
</RequireAny>
</Location>
Alias "/__waf_errors__" "/usr/local/opnsense/data/OPNWAF/errors/default"
ErrorDocument 400 /__waf_errors__/400.html
ErrorDocument 401 /__waf_errors__/401.html
ErrorDocument 403 /__waf_errors__/403.html
ErrorDocument 404 /__waf_errors__/404.html
ErrorDocument 408 /__waf_errors__/408.html
ErrorDocument 500 /__waf_errors__/500.html
ErrorDocument 502 /__waf_errors__/502.html
ErrorDocument 504 /__waf_errors__/504.html
</VirtualHost>
"