V20 behind IIS

Status
Not open for further replies.

FireManager

New User
Joined
Feb 19, 2024
Messages
4
Reaction score
1
Hello,
im New in this Forum....
I will Host on Prem 3CX behind an IIS Reverse Proxy.
The Admin Interface --> Firewall ist green an test is ok.

Aktuell 1 have to Things not working
--> The APP is not loading the User Status and Phonebook ist on loding....
--> The Konferenz in the 3CX "3cx..... hat dich zu oft weitergeleitet."

Gibt es für IIS eine Muster Konfiguration ? Websocket ist aktiviert.
Gerne stelle ich meine aktuelle zur Verfügung.

Gruß Michael
 
It's not supported to host 3CX behind a proxy.

But not connected usually points to a secure websocket not being proxied (wss:// protocol).
 
  • Like
Reactions: N_G and Evolute IT
Thanks for answer.
on this externa IP are different things are running... exchange, Gitlab.....
We need to run it on Proxy.... i think, im not allone.
Hostet is not possible.... Telekom.....

The Effekt is on local WLAN as well from extern.
web.config from IIS

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules useOriginalURLEncoding="false">
<clear />
<rule name="HTTP zu HTTPS" stopProcessing="true">
<match url="(.*)" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false">
<add input="{HTTPS}" pattern="^OFF$" />
<add input="{HTTP_HOST}" pattern="3cx.xxx.de" />
<add input="{REQUEST_URI}" pattern="/.well-known*" negate="true" />
</conditions>
<action type="Redirect" url="https://{HTTP_HOST}{REQUEST_URI}" redirectType="Permanent" />
</rule>
<rule name="ReverseProxyboundRule1" enabled="true" stopProcessing="true">
<match url="(.*)" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
<action type="Rewrite" url="http://192.168.200.173{UNENCODED_URL}" appendQueryString="false" />
<serverVariables>
<set name="HTTP_SEC_WEBSOCKET_EXTENSIONS" value="" />
</serverVariables>
</rule>
</rules>
<outboundRules>
<rule name="ReverseProxyOutboundRule1" preCondition="ResponseIsHtml1">
<match filterByTags="A, Form, Img" pattern="^http(s)?://192.168.200.173/(.*)" />
<action type="Rewrite" value="http{R:1}://3cx.xxx.de/{R:2}" />
</rule>
<preConditions>
<preCondition name="ResponseIsHtml1">
<add input="{RESPONSE_CONTENT_TYPE}" pattern="^text/html" />
</preCondition>
</preConditions>
</outboundRules>
</rewrite>
<urlCompression doStaticCompression="false" doDynamicCompression="false" />
</system.webServer>
</configuration>
 
Thanks for answer.
on this externa IP are different things are running... exchange, Gitlab.....
We need to run it on Proxy.... i think, im not allone.
Hostet is not possible.... Telekom.....

The Effekt is on local WLAN as well from extern.
web.config from IIS
Just use a different https port for 3cx
 
  • Like
Reactions: jed and SweetAction
OK... maybe possible.
I have seen, in the Config File, there ist set a part HTTPS with Port 443
Can I change this Port without reinstall ?
 
OK... maybe possible.
I have seen, in the Config File, there ist set a part HTTPS with Port 443
Can I change this Port without reinstall ?
No, you need to reinstall. But backup and restore ist fast. You can change the port in the config before you upload it to the pbx during install.
 
  • Like
Reactions: jed
yes... done reinstall with alternative Ports ... looks like working.... we will test :D
 
  • Like
Reactions: jed
Status
Not open for further replies.

Forum statistics

Threads
111,973
Messages
590,079
Members
164,899
Latest member
mazet