I had this problem. The /proc variable does work before networking AFAIK, however I had something turning it off again later. I added the same line to a final script (rc.local) to ensure it was turned on. > However, my script has a line in it that enables routing on the server: > echo "1" > /proc/sys/net/ipv4/ip_forward