doc.rustdesk.com/content/self-host/rustdesk-server-pro/installscript/windows/_index.en.md

52 lines
2.5 KiB
Markdown
Raw Normal View History

2023-09-11 13:59:10 +02:00
---
title: Windows Install
weight: 2
---
### Install
1. Get your license from [https://rustdesk.com/pricing.html](https://rustdesk.com/pricing.html), check [license](/docs/en/self-host/rustdesk-server-pro/license) page for more details.
2. Download the the Windows installer from [GitHub](https://github.com/rustdesk/rustdesk-server-pro/releases/latest).
3. Unzip the Windows installer.
4. Run the Installer and follow the steps on screen.
5. Once its completed open RustDesk Server.
6. Follow the prompts as they guide you through the install.
7. Click `Services` and then `Start`.
8. Once the install is complete go to `http://youripaddress:21114`.
9. Log in with the username `admin` and password `test1234`.
10. Enter your license code purchased in step 1.
2023-10-01 13:59:32 +02:00
### Use IIS as Proxy
2023-09-13 23:26:58 +02:00
2023-10-01 13:59:32 +02:00
Please ensure `Dynamic Content Compression` is installed (this is an IIS Feature which can be installed with Server Roles).
2023-09-11 13:59:10 +02:00
1. Open IIS (Or install it).
2. Create a new website for RustDesk with the bindings (Ideally 443) and relevant certificate. Basic settings should point this to a blank folder. (If you use the default site, make sure there are no other files in the folder).
3. On IIS, install [Application Request Routing](https://www.iis.net/downloads/microsoft/application-request-routing) and [URL Rewrite](https://learn.microsoft.com/en-us/iis/extensions/url-rewrite-module/using-the-url-rewrite-module).
### Application Request Routing
2023-09-13 23:26:58 +02:00
2023-09-11 13:59:10 +02:00
1. Under the IIS Server Host open Application Request Routing.
2. Go to Server Proxy Settings.
3. Enable proxy and all settings will appear, you can leave them as the defaults.
4. Save the settings and we can go to the next step: URL Rewrite.
### URL Rewrite
2023-09-13 23:26:58 +02:00
2023-09-11 13:59:10 +02:00
1. Open the site on IIS on the left pane and double-click on URL Rewrite.
2. Click `Add rules`.
2023-09-28 12:24:39 +02:00
3. Set up a new reverse proxy rule.
4. Setup the local address (the 21114 address) \
2023-09-13 23:26:58 +02:00
Inbound Rule the RustDesk internal 21114 address \
Outbound Rules `From` is the RustDesk internal 21114 address and `To` is the external address. \
Note: No http / https before the addresses they are automatically handled. Also, ensure all the addresses are accessible both internally and externally.
2023-09-28 11:32:15 +02:00
2023-09-28 12:24:39 +02:00
### Compression
2023-10-01 13:59:32 +02:00
1. Disable `Dynamic Content Compression`.
2023-09-28 12:24:39 +02:00
2023-09-28 11:32:15 +02:00
### Troubleshooting
2023-10-01 13:59:32 +02:00
If you have an error 500.52 add the mentioned variables: [IIS acting as reverse proxy: Where the problems start](https://techcommunity.microsoft.com/t5/iis-support-blog/iis-acting-as-reverse-proxy-where-the-problems-start/ba-p/846259).
2023-09-28 11:32:15 +02:00
2023-10-01 13:59:32 +02:00
You maybe need to change your SSL Settings to "Require SSL -> Ignore".