0

I am trying to access a new Azure based VM with a timesheet app from a local client using the downloaded Azure VPN client.

The Azure VPN issued client is installed on my local machine and works fine so I can access all shares etc.

If the VM firewall is turned off then I can access the VM based server app no problem.

If the VM firewall is turned on, and there is a rule present to open ports on the firewall created by the timesheet server app itself on installation, the timesheet client app cannot access the timesheet server.

From the firewall log it is clear the packets are dropped. e.g.

2016-05-24 09:24:53 DROP TCP 192.168.0.5 192.168.116.4 51474 8052 48 S 145448833 0 8192 - - - RECEIVE.

Tried explicitly allowing 8052 and TCP instead of the "Any" option in the rule but still no joy.

Following Event shown in event viewer.

Windows Firewall was unable to notify the user that it blocked an application >from accepting incoming connections on the network.

Reason: The application is a system service Application Path: C:\program files (x86)\senomix\senomix timesheets server service\nt_service\timesheets server.exe

IP Version: IPv6

Protocol: TCP

Port: 8052

Process Id: 8128

User: SYSTEM

Can anybody give me any pointers as to where to look? I've run a Windows Small business server for a number of years and happily administered that but the Azure dimension has introduced a lot of uncertainty for me. Any pointers gratefully received.

9
  • works with firewall off, doesn't work with firewall on - must be the firewall. try manually creating the rule
    – Sum1sAdmin
    May 20, 2016 at 12:43
  • Thanks for responding. Have tried to manually add the firewall rule (windows firewall) and makes no difference.
    – JTP
    May 22, 2016 at 8:47
  • turn logging on the firewall for dropped requests. See if you see anything in event viewer
    – CtrlDot
    May 24, 2016 at 2:50
  • Thanks @CtrlDot I've added the detail that resulted to the original post.
    – JTP
    May 24, 2016 at 16:17
  • Can you try removing the "program" restriction on the firewall rule? I just want to see if it will work. Sometimes the application you run isn't the application that requests the port to be open / handles the traffic
    – CtrlDot
    May 24, 2016 at 19:28

2 Answers 2

0

Try removing the application restriction on the firewall rule and restrict it only to port. Once you get it working, try running

netstat -anob

To determine which application is actually opening the port. You can use that information to reconfigure the rule for application support (should you require the added security benefit).

3
  • Ok. Results as follows: >C:\Windows\system32>netstat -anob | findstr 8052 >TCP 0.0.0.0:8052 0.0.0.0:0 LISTENING 8128 >TCP 192.168.116.4:8052 192.168.0.10:63024 ESTABLISHED 8128 >TCP [::]:8052 [::]:0 LISTENING 8128 Process 8128 is the original "timesheets server.exe". Thanks for all the help @CtrlDot. A newbie Stack Overflow type I've accepted this answer and jacked up the points. No idea if that is too much or too little.
    – JTP
    May 29, 2016 at 10:08
  • ...and as a newbie I can't change points!
    – JTP
    May 29, 2016 at 10:14
  • I've tried doing some looking on how the windows firewall does program detection. I suggest asking another question surrounding that so you can get a better idea of how to build that rule (with the program included).
    – CtrlDot
    May 30, 2016 at 1:44
0

Check if your "automatically created" rule at installation corresponds to the real port opening requierement of the application.

1
  • Thanks for the suggestion. I have checked the automatically added firewall rule and the settings all seem sensible (to the limits of my knowledge). The rule allows connection by anyone and to the particular service (timesheet server). Protocols and ports allows any protocol and all ports. I've tried changing to TCS and UDP in turn and referring to the specific port 8052 as required by the server and there is no change in behaviour.
    – JTP
    May 23, 2016 at 8:19

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .