Answers for "enable ip forwarding linux"

0

enable ip forwarding linux

sysctl net.ipv4.ip_forward       # to get IP forwarding status
  net.ipv4.ip_forward = 0        # IP forwarding is disabled

sysctl -w net.ipv4.ip_forward=1  # to enable IP forwarding (set to 0 to disable)
  net.ipv4.ip_forward = 1        # IP forwarding is enabled
Posted by: Guest on February-01-2022

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language