Article 6DJSN How to disable IP forwarding?

How to disable IP forwarding?

by
Jason.nix
from LinuxQuestions.org on (#6DJSN)
Hello,
Which of the following commands is OK to disable IP forwarding:
Code:# echo 0 > /proc/sys/net/ipv4/ip_forwardOr:
Code:# nano /etc/sysctl.conf
net.ipv4.ip_forward=1

# sysctl -p
Thank you.
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments