I'm using the API to get a list of IP addresses in order to whitelist those IP's in the Linux iptables firewall rules. This process works fine on an unrestricted server. The server I'm working with is very restricted, so it isn't able to communicate with the api.
For example, our pulseway address is http://company.pulseway.com which translates to 126.96.36.199
I added the following into iptables.save:
-A INPUT -i eth0 -s 188.8.131.52 -j ACCEPT
-A OUTPUT -o eth0 -d 184.108.40.206 -j ACCEPT
I test outbound communications by running the following:
telnet 220.127.116.11 443 and it connects so I'm assuming it's the inbound communication. My assumption is this isn't working because the IP returning the data is different than the IP that the data is sent to. Let me know if I can get the list of IP's so I can whitelist in our iptables.