Hi List
Great firmware. I've used a few but this one seems way ahead.
Anyway. I've read as many posts and guides as I can and before I perform the following I would like to run it by the experts on this forumn so I don't brick my router.
The goal:-
To open (forward) ports through the router.
My conclusions:-
Use iptables. the firewall.
The plan:-
1. ssh to the router and login
2. remove the firewall file in etc. 'rm /etc/firewall.user' (due to it being read-only and a symbolic link)
3. copy another firewall file 'cp /rom/etc/firewall.user' (not sure where this file is or where it is going)
4. use the text editor ,called VI, to edit the firewall file. 'vim /etc/firewall'
5. put the following code into the file (use port 12345 and ip 10.0.0.10 as example)
#port 12345 TCP
iptables -t nat -A prerouting_rule -i $WAN -p tcp --dport 12345 -j DNAT --to 10.0.0.10
iptables -A forwarding_rule -i $WAN -p tcp --dport 32459 -d 10.0.0.10 -j ACCEPT
#port 12345 UDP
iptables -t nat -A prerouting_rule -i $WAN -p udp --dport 10000 -j DNAT --to 10.0.0.10
iptables -A forwarding_rule -i $WAN -p udp --dport 10000 -d 10.0.0.10 -j ACCEPT
6. save the file. I think you simply type ZZ to do this.
7. reboot the router. Simply type 'reboot' at the shell.
I know I have written out every step but I really need to know I'm doing the right thing. If it is correct maybe it will also help others.
Thanks for any advice given
Digler