I have a gumstix that has an ethernet interface connected to one IP subnet, and a bluetooth interface connected to another IP subnet over pand.

I have managed to enable packet forwarding across the interfaces by changing the file "/proc/sys/net/ipv4/ip_forward" from 0 to 1.

However, I have to do this every time the gumstix is powered on, because it always reverts back to the default 0 value.

I want to be able to ensure this value is 1 whenever the gumstix is powered on. I've been searching for a configuration file which will allow this but with no luck.

Can anyone help me out?