If your firewall blocks all traffic to all non-whitelisted IPs then you can start by allowing *.pubnub.com. If your firewall requires specific IP whitelisting then you must have a Pro or Global plan. Please  contact PubNub Support for the full list of publicly accessible PubNub server IP addresses. Access to this list is for customers with a Pro or Global plan.