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.