Firewall setting for gcaps
The gcaps installer will automatically configure the default firewall on the following operating systems.
Operating System | Firewall |
---|---|
Windows 10, 8.1, 8, 7 | Windows Firewall, aka Windows Defender Firewall |
Red Hat, CentOS, Fedora | Firewalld |
Ubuntu | UFW, 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.
Direction | Source Port | Destination Port | TCP | UDP | Purpose |
---|---|---|---|---|---|
Outbound | any | 23 | ✓ | ✓ | Command-and-response† traffic |
Inbound | 23 | any (established connections on TCP) | ✓ | ✓ | Command-and-response traffic |
Inbound | 68 | 67 | ✓ | IP address requests | |
Outbound | any | 68 | ✓ | IP address assignment | |
Outbound | any | 50000 | ✓ | Controller discovery request | |
Inbound | 50000 | any | ✓ | Controller discovery reply | |
Outbound | any | 60007 | ✓ | Subscriptions setup | |
Inbound | 60007 | any | ✓ | Subscriptions* 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 System | Location of gcaps |
---|---|
Windows | c:\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.
Service | Purpose |
---|---|
mdns | MDNS hostname resolution |