0

i need to set up a reversed proxy to reach a Webbrowser of a PLC (Win CC Unified). The problem is that im not able to change Server header rules for "X-Frame". I found a lot ot tutorials but i was not able to set up the reverse proxy correctly.

Thats the link to the webbrowser: https://192.168.73.2:343/Portal/Portal.mwsl?intro_enter_button=WEITER&PriNav=Start&coming_from_intro=true&no_intro=on

  1. Add new Site to IIS
  2. Typ https and choose SSL Certificate
  3. Change Port to 4434 because 443 already taken
  4. URL Rewrite -> add Rule -> Reversed Proxy
  5. Add link
  6. Rewrite the domain names of the links in HTTP repones
  7. add name of the pc (in my case M1234) at To:

Now i think it should be possible to reach Webserver with the folloing link: https://m1234:4434

But its not working. Can someone give me a hint? I get following error msg:

HTTP-Fehler 502.3 - Bad Gateway The server name or address could not be resolved Error code: 0x80072ee7

Im a totaly beginner so please give me answers on a beginner level.

If you know an easier way to work around missing X-Frame rules, i would really like to hear about it.

Thanks

  • M1234 is your host name, have you bound it to the ip address in the host file? and how did you set up reversed proxy? here is a troubleshooting about 502 error in arr, you can use it as a reference: [Troubleshooting 502 errors in ARR](https://learn.microsoft.com/en-us/troubleshoot/developer/webapps/iis/application-request-routing/troubleshooting-502-errors-in-arr). – samwu Jul 24 '23 at 03:34
  • Hello, I haven't changed anything in the host file. what should i change in this file? I think you mean host file in C:\Windows\System32\drivers\etc ? I set up reversed proxy in IIS and use the steps from above (1-7). – noname028743 Jul 24 '23 at 05:04
  • Yes, did you just set m1234 in Site Binding? The reversed proxy I am asking about is your url rule, not specific steps, and failed request tracking is a good way to troubleshoot. – samwu Jul 27 '23 at 08:37

0 Answers0