EFW Support

Support => General Support => Topic started by: pisisler on Wednesday 24 August 2022, 11:19:03 pm



Title: Firewall blocks PHP sockets
Post by: pisisler on Wednesday 24 August 2022, 11:19:03 pm
Hi all.

I have newly installed Endian Community Firewall 3.3.18 and set our VPSs behind it; two of which are a Centos 7 server and a Windows server. Both serve some websites and APIs. After installing and configuring the firewall; both servers can not reach each other through HTTP. Web sites work very well on the browser; there is no port problem.

I open an RDP to the Windows VPS, I open the browser and browse the API URL successfully. But the very same server times out when I try to reach that URL with PHP (cURL or PHP Socket (file_get_contents()). THe same case applies from Centos to Windows too. I open Centos terminal, ping the API URL in Windows server, it is successful. On the very same terminal I try to connect with cURL, but it times out too.

This has become a very immediate problem to us.

What are we missing in configuration of Endian?


Title: Re: Firewall blocks PHP sockets
Post by: pisisler on Thursday 25 August 2022, 04:45:53 am
Had resolved the issue temporarily by defining local IPs with domains in their respectful hosts files. But how to set NAT loopback in Endian for good?