ungureanub
New Around Here
Hi,
I have the RT-AC66U and I've installed Merlin's version "RT-AC66U_3.0.0.4_266.23b". I'm trying to open the port 9091 so I can access the transmission client from WAN.
On the router UI I've enabled "jffs partition" and "Format JFFS partition at next boot" and I've rebooted the router.
then
said that nothing is created since its already there
next...
Then I've rebooted and tried to see if my port 9091 is now opened.
It was not!!!![Mad :mad: :mad:](https://cdn.jsdelivr.net/joypixels/assets/8.0/png/unicode/64/1f621.png)
I've disabled the firewall and checked again. Now it was opened.
I've tried several times the entire procedure but as long as the firewall is active, the port is not opened.
If I run manually the command:
then everything starts to work, even when the firewall is activated.
Then TeHashX suggested to add the following line in the firewall-start script:
and after reboot I've checked the log and I could not found my test log message. So it looks like the script is not executed at all.
I also tried to execute manually the script with
and I get the following result
plus my test log entry in the log file.
![Mad :mad: :mad:](https://cdn.jsdelivr.net/joypixels/assets/8.0/png/unicode/64/1f621.png)
![Mad :mad: :mad:](https://cdn.jsdelivr.net/joypixels/assets/8.0/png/unicode/64/1f621.png)
![Mad :mad: :mad:](https://cdn.jsdelivr.net/joypixels/assets/8.0/png/unicode/64/1f621.png)
So, any idea what I could do next?
I have the RT-AC66U and I've installed Merlin's version "RT-AC66U_3.0.0.4_266.23b". I'm trying to open the port 9091 so I can access the transmission client from WAN.
On the router UI I've enabled "jffs partition" and "Format JFFS partition at next boot" and I've rebooted the router.
then
Code:
mkdir /jffs/scripts
next...
Code:
wget -c -O /jffs/scripts/firewall-start http://tinyurl.com/firewall-start
chmod a+rx /jffs/scripts/firewall-start
Then I've rebooted and tried to see if my port 9091 is now opened.
It was not!!!
![Mad :mad: :mad:](https://cdn.jsdelivr.net/joypixels/assets/8.0/png/unicode/64/1f621.png)
I've disabled the firewall and checked again. Now it was opened.
I've tried several times the entire procedure but as long as the firewall is active, the port is not opened.
If I run manually the command:
Code:
iptables -I INPUT -p tcp --destination-port 9091 -j ACCEPT
Then TeHashX suggested to add the following line in the firewall-start script:
Code:
logger -t "$0" "Hey, I'm working!"
I also tried to execute manually the script with
Code:
sh firewall-start
Code:
'ptables v1.3.8: Invalid target name `ACCEPT
Try `iptables -h' or 'iptables --help' for more information.
'ptables v1.3.8: Invalid target name `ACCEPT
Try `iptables -h' or 'iptables --help' for more information.
'ptables v1.3.8: Invalid target name `ACCEPT
Try `iptables -h' or 'iptables --help' for more information.
![Mad :mad: :mad:](https://cdn.jsdelivr.net/joypixels/assets/8.0/png/unicode/64/1f621.png)
![Mad :mad: :mad:](https://cdn.jsdelivr.net/joypixels/assets/8.0/png/unicode/64/1f621.png)
![Mad :mad: :mad:](https://cdn.jsdelivr.net/joypixels/assets/8.0/png/unicode/64/1f621.png)
So, any idea what I could do next?