Photon OS

 View Only
  • 1.  Permanently enable IPv4 Forwarding

    Posted Feb 20, 2017 07:29 PM

    Short of setting a script to run at startup, is there a way to enable IPv4 forwarding that persists across reboots?  echo "1" > /proc/sys/net/ipv4/ip_forward works until rebooted. Thanks.



  • 2.  RE: Permanently enable IPv4 Forwarding

    Posted Feb 22, 2017 04:41 PM

    Hi,

    Please try below command line.

    root@photon01 [ ~ ]# echo 'net.ipv4.ip_forward = 1' > /etc/sysctl.d/ip_forward.conf