Changes

Jump to navigation Jump to search
45 bytes removed ,  09:02, 7 October 2014
m
restart sysctl
Line 95: Line 95:  
  expand-template /etc/sysctl.conf
 
  expand-template /etc/sysctl.conf
 
and make them effective:
 
and make them effective:
  TBA (reboot only option? or "service network restart"?
+
  sysctl -p
 
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