We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 549f11f commit 7925eecCopy full SHA for 7925eec
scripts/enable-rdp.ps1
@@ -46,6 +46,8 @@ if($ip.StartsWith('172.24.')) {
46
} elseif ($ip.StartsWith('192.168.') -or $ip.StartsWith('10.240.')) {
47
# new environment - behind NAT
48
$port = 33800 + ($ip.split('.')[2] - 0) * 256 + $ip.split('.')[3]
49
+} elseif ($ip.StartsWith('10.0.')) {
50
+ $port = 33800 + ($ip.split('.')[2] - 0) * 256 + $ip.split('.')[3]
51
}
52
53
# get external IP
0 commit comments