Difference between revisions of "Sysctl"

From Useful Things
Jump to: navigation, search
(Created page with "== Disable rp_filter == <pre> for i in /proc/sys/net/ipv4/conf/*/rp_filter; do echo 0 > $i done </pre>")
 
Line 5: Line 5:
 
done
 
done
 
</pre>
 
</pre>
 +
 +
=== Additional notes ===
 +
http://unix.stackexchange.com/questions/90443/sysctl-proc-sys-net-ipv46-conf-whats-the-difference-between-all-defau<br />
 +
https://www.kernel.org/doc/Documentation/networking/ip-sysctl.txt

Revision as of 06:40, 19 August 2015

Disable rp_filter

for i in /proc/sys/net/ipv4/conf/*/rp_filter; do
	echo 0 > $i
done

Additional notes

http://unix.stackexchange.com/questions/90443/sysctl-proc-sys-net-ipv46-conf-whats-the-difference-between-all-defau
https://www.kernel.org/doc/Documentation/networking/ip-sysctl.txt