Firewall Settings

Firewall setting for gcaps

The gcaps installer will automatically configure the default firewall on the following operating systems.

Operating SystemFirewall
Windows 10, 8.1, 8, 7Windows Firewall, aka Windows Defender Firewall
Red Hat, CentOS, FedoraFirewalld
UbuntuUFW, aka Uncomplicated Firewall

Ports and Protocols

If a different firewall is being used on the system, or if the firewall is blocking more ports than the default settings, the following firewall settings should be added.

DirectionSource PortDestination PortTCPUDPPurpose
Outboundany23Command-and-response traffic
Inbound23any
(established connections on TCP)
Command-and-response traffic
Inbound6867IP address requests
Outboundany68IP address assignment
Outboundany50000Controller discovery request
Inbound50000anyController discovery reply
Outboundany60007Subscriptions setup
Inbound60007anySubscriptions* data

The GDK Terminal uses UDP. Other tools use TCP.
*Subscriptions consist of unsolicited messages, data records, and interrupts.

Some firewalls allow port rules to be tied to a given application, providing tighter network control. The following is the location of the gcaps executable that requires traffic from the above ports.

Operating SystemLocation of gcaps
Windowsc:\Program Files\Galil\gcaps\bin\gcaps_service.exe
Linux/usr/sbin/gcapsd

Services

For Linus users experiencing issues connecting to remote servers, additional services may been to be allowed through the firewall.

ServicePurpose
mdnsMDNS hostname resolution