Difference between revisions of "csf"

From WebHostingNeeds.com
Jump to: navigation, search
m
m
 
Line 17: Line 17:
 
<pre>
 
<pre>
 
LF_GLOBAL = "1000"
 
LF_GLOBAL = "1000"
GLOBAL_ALLOW = "http://hostonnet.com/firewall/allow.txt"
+
GLOBAL_ALLOW = "http://git.buyscripts.in:10080/boby/firewall/raw/master/allow.txt"
GLOBAL_DENY = "http://hostonnet.com/firewall/deny.txt"
+
GLOBAL_DENY = "http://git.buyscripts.in:10080/boby/firewall/raw/master/deny.txt"
 
</pre>
 
</pre>
  

Latest revision as of 03:46, 25 January 2017


SMTP_BLOCK  = 1
SMTP_ALLOWLOCAL  = 1


Add list of ip in http://hostonnet.com/firewall/allow.txt

LF_GLOBAL = "1000"
GLOBAL_ALLOW = "http://git.buyscripts.in:10080/boby/firewall/raw/master/allow.txt"
GLOBAL_DENY = "http://git.buyscripts.in:10080/boby/firewall/raw/master/deny.txt"

1000 seconds = 16 Minutes.


Then Edit WHM > ConfigServer Security&Firewall > GLOBAL_ALLOW = enter the url

Still not working

grep remoteip /var/log/messages

Error shows TCP_OUT blocking *TCP_OUT Blocked* IN= OUT

Make sure TCP_IN and TCP_OUT added 2086

Then try

telnet server56.com 2086


IP BLOCK'S FOR DIFFERENT COUNTRY

http://www.ipdeny.com/ipblocks/