Windows Firewall and GigE Vision Cameras

26 views (last 30 days)
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?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 24 Jun 2021
Edited: MathWorks Support Team on 24 Jun 2021
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:

More Answers (0)


No tags entered yet.




Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!