Difference between revisions of "Net.ipv4.ip forward"
Jump to navigation
Jump to search
(Created page with "{{lc}} == See also == * {{sysctl}} Category:Sysctl") |
|||
(11 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{lc}} | {{lc}} | ||
+ | [[sysctl -w]] net.ipv4.ip_forward=1 | ||
+ | sudo [[sed -i]] '/#net.ipv4.ip_forward=1/s/^#//g' [[/etc/sysctl.conf]] | ||
+ | |||
+ | [[sysctl -a]] | [[grep -w]] [[net.ipv4]].ip_forward | ||
+ | cat [[/etc/sysctl.conf]] | [[grep -w]] [[net.ipv4]].ip_forward | ||
+ | |||
+ | == Related == | ||
+ | * <code>[[/proc/net/]]</code> | ||
+ | * [[Ansible: lineinfile]] | ||
+ | * [[Router]] | ||
== See also == | == See also == |
Latest revision as of 11:56, 24 January 2024
Advertising: