Results 1 to 1 of 1
  1.    #1  
    Hi. I'm trying to run the following event, /etc/event.d/mobilehotspot, when my Veer starts up, but it doesn't take - ip_forward is always 0 after rebooting. My unix is old, but I've poured over the man page and scanned the forums and internet for hints to no avail. I've attached the actual file that I tried to use (forum made me append .txt). Chmod +x and -x didn't make a difference. Any pointers would be appreciated - Thx.

    start on startup

    script
    echo 1 > /proc/sys/net/ipv4/ip_forward
    iptables -t nat -A POSTROUTING -o rmnet0 -j MASQUERADE
    iptables -A FORWARD -i rmnet0 -o bridge0 -m state --state RELATED,ESTABLISHED -j ACCEPT
    iptables -A FORWARD -i bridge0 -o rmnet0 -j ACCEPT
    end script
    Attached Files Attached Files

Posting Permissions