Changes

Jump to navigation Jump to search
No change in size ,  18:05, 17 September 2012
m
Line 38: Line 38:  
Create a custom template and list the IP's
 
Create a custom template and list the IP's
 
  mkdir -p /etc/e-smith/templates-custom/etc/rc.d/init.d/masq/
 
  mkdir -p /etc/e-smith/templates-custom/etc/rc.d/init.d/masq/
  pico -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
 
  /sbin/iptables -A INPUT -s 69.212.12.76/32 -j DROP
 
  /sbin/iptables -A INPUT -s 69.212.12.76/32 -j DROP
 
  /sbin/iptables -A INPUT -s 88.28.215.11/32 -j DROP
 
  /sbin/iptables -A INPUT -s 88.28.215.11/32 -j DROP
6

edits

Navigation menu