MATLAB: Windows Firewall and GigE Vision Cameras

Image Acquisition Toolbox

Can Windows Firewall interfere with acquiring images from a GigE Vision camera when using MATLAB Image Acquisition Toolbox with the videoinput gige or gigecam interfaces?

Best Answer

Windows firewall can block the UDP packets used for image data transfer by the GigE Vision Streaming Protocol. The ports used for image data transfer by the camera and Gigabit network adapter are dynamic, and setting up the required firewall rules is an advanced operation. In addition, firewall processing of the image data stream can reduce performance.
Unlike MATLAB, some applications can stream images from a GigE Vision camera even when a firewall is enabled because they use a packet filtering driver.
A convenient getting-started configuration is to turn off the Windows firewall for the camera’s dedicated network connection, while keeping the firewall enabled for the other network connections (such as the Internet connection or your organization’s local area network connection).
Note: Windows uses network location connection profiles to group firewall settings for different types of connections, and turning off Windows firewall selectively for an individual network connection is not directly possible.
For more details, refer to the following Microsoft resources:
  1. https://technet.microsoft.com/en-us/library/cc725993%28WS.10%29.aspx
  2. https://technet.microsoft.com/en-us/magazine/2007.06.vistafirewall.aspx
  3. http://windows.microsoft.com/en-us/windows/turn-windows-firewall-on-off#turn-windows-firewall-on-off=windows-7
Related Question