Changes

Jump to navigation Jump to search
53 bytes added ,  18:39, 15 September 2014
m
no edit summary
Line 96: Line 96:  
and paste this into the above custome template using nano:
 
and paste this into the above custome template using nano:
 
  nano -w /etc/e-smith/templates/templates-custom/etc/sysctl.conf/net.ipv4.ip_deny_redirects
 
  nano -w /etc/e-smith/templates/templates-custom/etc/sysctl.conf/net.ipv4.ip_deny_redirects
Now we need to expand the newly created custome template: expand-template /etc/sysctl.confand make them effective:
+
Now we need to expand the newly created custome template:
  TBA
+
expand-template /etc/sysctl.conf
 +
and make them effective:
 +
  TBA (reboot only option? or "service network restart"?
 
Another way to disable/enable redirects on all interfaces on the fly from the console as root would be:
 
Another way to disable/enable redirects on all interfaces on the fly from the console as root would be:
 
  for f in /proc/sys/net/ipv4/conf/*/send_redirects; do echo 0 > $f; done
 
  for f in /proc/sys/net/ipv4/conf/*/send_redirects; do echo 0 > $f; done

Navigation menu