futureinfinance07
New member
Testing now. Will edit soon.
EDIT: Works great. Tested 3 times after 3 different reboots.
So how does this sound:
#!/system/bin/sh
/system/bin/iptables -P INPUT ACCEPT
/system/bin/iptables -P OUTPUT ACCEPT
/system/bin/iptables -P FORWARD ACCEPT
/system/bin/iptables -F
/system/bin/iptables -t nat -F
/system/bin/iptables -X
/system/bin/iptables -t nat -A OUTPUT -o ppp0 -p 6 ! -d 10.133.26.12 -j REDIRECT --to-port 1025
exec /system/bin/u2nl 10.133.26.12 8080 1025
sleep 15
kill `ps|grep nk.bla.android.autostart|awk '{print $2}'`
EDIT: Works great. Tested 3 times after 3 different reboots.
So how does this sound:
#!/system/bin/sh
/system/bin/iptables -P INPUT ACCEPT
/system/bin/iptables -P OUTPUT ACCEPT
/system/bin/iptables -P FORWARD ACCEPT
/system/bin/iptables -F
/system/bin/iptables -t nat -F
/system/bin/iptables -X
/system/bin/iptables -t nat -A OUTPUT -o ppp0 -p 6 ! -d 10.133.26.12 -j REDIRECT --to-port 1025
exec /system/bin/u2nl 10.133.26.12 8080 1025
sleep 15
kill `ps|grep nk.bla.android.autostart|awk '{print $2}'`