[ 
https://issues.apache.org/jira/browse/VCL-990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15491203#comment-15491203
 ] 

Andy Kurth commented on VCL-990:
--------------------------------

The output provided looks like it's working.  This line executes 2 commands, 
one to delete an existing rule and another to allow RDP from any address.  The 
commands are separated by the semicolon (\;).
{noformat}
2016-09-14 13:51:13|26584|1282:1271|reserved|OS.pm:execute(1994)|executed 
command: 'C:/Windows/Sysnative/netsh.exe advfirewall firewall delete rule 
name=all dir=in protocol=TCP localport=3389 ; C:/Windows/Sysnative/netsh.exe 
advfirewall firewall add rule name="VCL: allow TCP/3389 from 0.0.0.0/0.0.0.0" 
description="VCL: allow TCP/3389 from 0.0.0.0/0.0.0.0" protocol=TCP 
action=allow enable=yes dir=in localip=any localport=3389 remoteip=any', exit 
status: 0, output:
{noformat}

The output indicates the _delete_ failed, which is fine: {noformat}26584        
1282:1271       reserved        No rules match the specified criteria.{noformat}

The second _add_ command succeeded: {noformat}26584     1282:1271       
reserved        Ok.{noformat}

I haven't encountered this problem with VCL 2.4.2.  If you are still on 2.3.2, 
I'd suggest upgrading.  If this still seems to be a problem, login to the 
Windows 7 VM from the Vbox console and examine the firewall.  You may also want 
to look at the vBox host's firewall.  I haven't worked much with vBox, but 
perhaps something is being blocked going through the bridge.



> Version_6.pm: seem to be unsuccessfully in opening the firewall on the 
> windows 7 vm's. This seems to prevent to user from connecting over RDP.
> ----------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: VCL-990
>                 URL: https://issues.apache.org/jira/browse/VCL-990
>             Project: VCL
>          Issue Type: Bug
>          Components: vcld (backend)
>    Affects Versions: 2.3.2
>         Environment: Ubuntu (Backend) Virtualbox (hypervisor)
>            Reporter: Reggie Sands
>
> 2016-09-14 13:51:01|26584|1282:1271|reserved|reserved.pm:process(199)|calling 
> VCL::Module::OS::Windows::Version_6::7::grant_access() subroutine
> 2016-09-14 
> 13:51:01|26584|1282:1271|reserved|OS.pm:process_connect_methods(2525)|reservation
>  remote IP address is not defined, connect methods will be available from any 
> IP address
> 2016-09-14 
> 13:51:12|26584|1282:1271|reserved|Windows.pm:start_service(7178)|started 
> service: TermService
> 2016-09-14 
> 13:51:12|26584|1282:1271|reserved|OS.pm:process_connect_methods(2596)|'TermService'
>  started on VBoxVM-170
> 2016-09-14 13:51:13|26584|1282:1271|reserved|OS.pm:execute(1994)|executed 
> command: 'C:/Windows/Sysnative/netsh.exe advfirewall firewall delete rule 
> name=all dir=in protocol=TCP localport=3389 ; C:/Windows/Sysnative/netsh.exe 
> advfirewall firewall add rule name="VCL: allow TCP/3389 from 0.0.0.0/0.0.0.0" 
> description="VCL: allow TCP/3389 from 0.0.0.0/0.0.0.0" protocol=TCP 
> action=allow enable=yes dir=in localip=any localport=3389 remoteip=any', exit 
> status: 0, output:
> |26584|1282:1271|reserved| No rules match the specified criteria.
> |26584|1282:1271|reserved| Ok.
> 2016-09-14 
> 13:51:13|26584|1282:1271|reserved|Version_6.pm:_enable_firewall_port_helper(1678)|opened
>  firewall on VBoxVM-170:
> |26584|1282:1271|reserved| name: 'VCL: allow TCP/3389 from 0.0.0.0/0.0.0.0'
> |26584|1282:1271|reserved| protocol: TCP
> |26584|1282:1271|reserved| port/type: 3389
> |26584|1282:1271|reserved| scope: any
> 2016-09-14 
> 13:51:13|26584|1282:1271|reserved|OS.pm:process_connect_methods(2625)|opened 
> firewall port 3389 on VBoxVM-170 for 0.0.0.0/0 RDP connect method
> 2016-09-14 
> 13:51:13|26584|1282:1271|reserved|Windows.pm:grant_access(1054)|processed 
> connection methods on VBoxVM-170
> 2016-09-14 
> 13:51:14|26584|1282:1271|reserved|Windows.pm:delete_files_by_pattern(1404)|files
>  not deleted because base directory does not exist: 
> C:/Windows/Sysnative/GroupPolicy/User/Scripts/
> 2016-09-14 
> 13:51:14|26584|1282:1271|reserved|Windows.pm:grant_access(1075)|access has 
> been granted for reservation on VBoxVM-170



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to