Changes

From SME Server
Jump to navigationJump to search
55 bytes removed ,  21:57, 9 January 2013
Line 40: Line 40:  
  nano -w /etc/e-smith/templates-custom/etc/rc.d/init.d/masq/40DenyRiffRaff
 
  nano -w /etc/e-smith/templates-custom/etc/rc.d/init.d/masq/40DenyRiffRaff
   −
Now add the IP's you wish to block to the newly create file (40DenyRiffRaff) in the following format.
+
Of course you may call the file what ever you want.
 
+
Now add the IP's you wish to block to the newly create file in the following format.
Of course you may call the file what ever you want as long as you add it in this format.
      
  /sbin/iptables -A INPUT -s 69.212.12.76/32 -j DROP
 
  /sbin/iptables -A INPUT -s 69.212.12.76/32 -j DROP
50

edits

Navigation menu