Difference between revisions of "Net.ipv4.ip forward"

From wikieduonline
Jump to navigation Jump to search
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]]
 
  sudo [[sed -i]] '/#net.ipv4.ip_forward=1/s/^#//g' [[/etc/sysctl.conf]]

Revision as of 16:29, 18 December 2023

sysctl -w net.ipv4.ip_forward=1
sudo sed -i '/#net.ipv4.ip_forward=1/s/^#//g' /etc/sysctl.conf

See also

Advertising: