Merge pull request #311 from dinger1986/master

Update _index.en.md
This commit is contained in:
RustDesk 2023-09-28 18:38:38 +08:00 committed by GitHub
commit c7ee3ecd51
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 7 deletions

View File

@ -19,7 +19,7 @@ $ErrorActionPreference= 'silentlycontinue'
$rustdesk_pw=(-join ((65..90) + (97..122) | Get-Random -Count 12 | % {[char]$_}))
# Get your config string from your Web portal and Fill Below
rustdesk_cfg="configstring"
$rustdesk_cfg="configstring"
################################### Please Do Not Edit Below This Line #########################################
@ -54,7 +54,10 @@ $arrService = Get-Service -Name $ServiceName -ErrorAction SilentlyContinue
if ($arrService -eq $null)
{
Start-Sleep -seconds 20
Write-Output "Installing service"
cd $env:ProgramFiles\RustDesk
Start-Process .\rustdesk.exe --install-service -wait -Verbose
Start-Sleep -seconds 20
}
while ($arrService.Status -ne 'Running')
@ -65,7 +68,7 @@ while ($arrService.Status -ne 'Running')
}
cd $env:ProgramFiles\RustDesk\
$rustdesk_id = (.\RustDesk.exe --get-id | out-host)
.\RustDesk.exe --get-id | Write-Output -OutVariable rustdesk_id
.\RustDesk.exe --config $rustdesk_cfg

View File

@ -18,7 +18,7 @@ weight: 2
## Use IIS as Proxy
Please ensure Dynamic Content Compression is installed as IIS component
Please ensure Dynamic Content Compression is installed (this is an IIS Feature which can be installed with Server Roles)
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).
@ -34,13 +34,16 @@ Please ensure Dynamic Content Compression is installed as IIS component
1. Open the site on IIS on the left pane and double-click on URL Rewrite.
2. Click `Add rules`.
3. Disable dynamic compression under compression (you will find this under the web page created).
4. Set up a new reverse proxy rule.
5. Setup the local address (the 21114 address) \
3. Set up a new reverse proxy rule.
4. Setup the local address (the 21114 address) \
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.
### Compression
1. Disable dynamic compression
### Troubleshooting
If you have an error 500.52 add the mentioned variables: [https://techcommunity.microsoft.com/t5/iis-support-blog/iis-acting-as-reverse-proxy-where-the-problems-start/ba-p/846259](https://techcommunity.microsoft.com/t5/iis-support-blog/iis-acting-as-reverse-proxy-where-the-problems-start/ba-p/846259)