ipforwarding Enable in Linux :- How to??

To check its enabled or not :

#sysctl net.ipv4.ip_forward
net.ipv4.ip_forward = 0  (Value 0=Disabled, 1=Enabled)

or else

#cat /proc/sys/net/ipv4/ip_forward
0
===============

To enable :

#sysctl -w net.ipv4.ip_forward=1

or

#echo 1 > /proc/sys/net/ipv4/ip_forward

To make the change permanent add the below line in /etc/sysctl.conf

#Vi /etc/sysctl.conf:
net.ipv4.ip_forward = 1

and then run the below command

#sysctl -p /etc/sysctl.conf
#service network restart

Post a Comment

1 Comments


  1. In today's digital age, entertainment has become more interactive and engaging than ever before. Many platforms now offer unique experiences, such as görüntülü şov that captivate audiences worldwide. These visual shows provide a new level of immersion, allowing viewers to connect more deeply with the content. As technology advances, we can expect even more innovative forms of entertainment to emerge.

    ReplyDelete