CSF-LFD blocks nearly all open ports. It also blocks port 10000 which I need.
I can open the port via a similar code:
cat << EOF >> /etc/csf/csf.conf
tcp|in|d=10000|s=aa.bb.cc.dd
EOF
service csf restart
For newcomers who read this, note I picked tcp_in
because my server is remote to anyone who connects in-to it, and that includes even myself.
My question:
Is it possible to open the port without mentioning any IP etcetra and if so, why? I ask this as I want to make the process of opening the IP automatic, as part of a script I use to install my server environment as well as that people will have a particular answer on this they could find in a Google search; I personally went through some articles and all I found dealt with opening the CSF-closed port only when an IP is attached to it.