Hi,
First of all I wonder what the firmware version is all about: Seems that you are the only one with a rather old or even wrong
3.0.0.420 firmware version on the RT-N66U router...
You can easily enable the port forwarding for the ports you need with this commands via telnet/putty connected to your router:
Code:
iptables -I INPUT -p tcp --destination-port 51413 -j ACCEPT
iptables -I INPUT -p udp --destination-port 51413 -j ACCEPT
This settings will be lost after reboot, so you better have
Merlin's firmware version installed to make the configuration permanent!
To make the changes perament (bring the back on reboot) first you have to enable JFFS (only avaliable with Merlin's firmware) on your router under
Administartion/System in the GUI
Reboot and redo the Format "JFFS partition at next boot" option a second time and reboot again - sometimes the JFFS partion is not formated on the first time.
Create a user defined startup script (
explained here) for the firewall configuration:
/jffs/scripts/firewall-start
Content of the firewall-start script:
Code:
#!/bin/sh
/usr/sbin/iptables -I INPUT -p tcp --destination-port 51413 -j ACCEPT
/usr/sbin/iptables -I INPUT -p udp --destination-port 51413 -j ACCEPT
In case you have no editor installed (besinde the famous vi) you can create the script with this command:
Code:
cat << EOF > /jffs/scripts/firewall-start
#!/bin/sh
/usr/sbin/iptables -I INPUT -p tcp --destination-port 51413 -j ACCEPT
/usr/sbin/iptables -I INPUT -p udp --destination-port 51413 -j ACCEPT
EOF
Do not forget to make the firewall-start script executable with the command:
Code:
chmod a+rx /jffs/scripts/firewall-start
Have fun!
With kind regards
Joe