This article provides information about the services that are required to permit Microsoft SharePoint FAST Search on the firewall.
According to Microsoft, the ports that need to be allowed on the firewall for SharePoint FAST Search connectivity are:
Security token service (TCP port range: 32843-32845)
Fast query (TCP port range: 13286-13287)
FAST service locator (TCP port range: 13257-13258)
FAST resource storage (TCP port range: 13255-13255)
FAST distributor (TCP port range: 13391-13391)