Skip to content

Latest commit

 

History

History
16 lines (10 loc) · 338 Bytes

enabling-ip-forward.md

File metadata and controls

16 lines (10 loc) · 338 Bytes

HOW TO ENABLING IPv4 FORWARD

  1. add following line to /etc/sysctl.conf :
net.ipv4.ip_forward=1
  1. to enable ip forwarding on a running linux system, run:
sysctl -w net.ipv4.ip_forward=0

point: the above command actually writes number 0 into the above mentioned file /proc/sys/net/ipv4/ip_forward