File tree 2 files changed +3
-0
lines changed 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,8 @@ var $language = 'en';
23
23
24
24
/* Set the standard VRDE Port Number / Range, e.g. 1010-1020 or 1027 */
25
25
var $vrdeports = '9000-9100';
26
+ /* Set the default VRDE address, e.g. 192.168.1.1 */
27
+ #var $vrdeaddress = '192.168.1.1';
26
28
27
29
/*
28
30
*
Original file line number Diff line number Diff line change @@ -3828,6 +3828,7 @@ public function remote_machineCreate($args) {
3828
3828
$ this ->session ->machine ->VRDEServer ->enabled = 1 ;
3829
3829
$ this ->session ->machine ->VRDEServer ->authTimeout = 5000 ;
3830
3830
$ this ->session ->machine ->VRDEServer ->setVRDEProperty ('TCP/Ports ' ,($ this ->settings ->vrdeports ? $ this ->settings ->vrdeports : '3390-5000 ' ));
3831
+ $ this ->session ->machine ->VRDEServer ->setVRDEProperty ('TCP/Address ' ,($ this ->settings ->vrdeaddress ? $ this ->settings ->vrdeaddress : '127.0.0.1 ' );
3831
3832
}
3832
3833
} catch (Exception $ e ) {
3833
3834
//Ignore
You can’t perform that action at this time.
0 commit comments