Let me clarify: I have an iMac wich is wireless connected to the router from the ISP.
The Centos computer is connected to the iMac with a cable and internet sharing is turned on. Installed Nginx on the Centos but I can not get access to it from my iMac.
If I run
curl 192.168.3.2 I get connection refused
On my Centos
wget 192.168.2.3 is working, because I get the index page from the iMac server running Apache.
Is Centos running a firewall?
for the moment I turned off iptables and I can connect, but what I would like to ask now is how to set a rule to allow incoming requests.