Remove All Ads from XDA

[Q] Commands work, script doesn't

12 posts
Thanks Meter: 0
By TacticalQuit, Junior Member on 13th January 2014, 01:53 AM
Post Reply Email Thread
Im trying to run this script

iptables -A bw_FORWARD -i !lo+
iptables -A natctrl_FORWARD -j RETURN -i rmnet+ -o wlan0 -m state --state RELATED,ESTABLISHED
iptables -A natctrl_FORWARD -j DROP -i wlan0 -o rmnet+ -m state --state INVALID
iptables -A natctrl_FORWARD -j RETURN -i wlan0 -o rmnet+
iptables -A natctrl_FORWARD -j DROP
iptables -A natctrl_nat_POSTROUTING -t nat -o rmnet+ -j MASQUERADE
they run fine individually, line by line, but when run in a script i get:


What am I doing wrong?
25th January 2014, 09:51 PM |#2  
OP Junior Member
Thanks Meter: 0
30th January 2014, 03:09 AM |#3  
OP Junior Member
Thanks Meter: 0

Sent from my SAMSUNG-SGH-I747 using XDA Premium 4 mobile app
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes