-
How to open up a port?
I have installed Oleg's firmware on my Asus WL-500g Premium router. I've also installed ctorrent and YODCTCS Web Gui for administrating the torrents. The web gui uses port 18000 for access. This works fine when I sit at home but I would like to be able to access the web gui externally so I can start and administrate downloads when I'm not at home. So I figured I need to open up port 18000 for external traffic.
Now how can I accomplish this?
Any ideas? :)
-
Try to create this rule with iptables:
Code:
iptables -I INPUT -m tcp -p tcp --dport 18000 -j ACCEPT
eventually put it in /usr/local/sbin/post-firewall so it will be reinitialised in case the router is restarted, like this:
Code:
echo "iptables -I INPUT -m tcp -p tcp --dport 18000 -j ACCEPT" >> /usr/local/sbin/post-firewall
..and don`t forget to save it:
Code:
flashfs save && flashfs commit && flashfs enable
to save it.
Or try
Code:
iptables -A INPUT -p tcp --dport 18000 -j ACCEPT
It`s about the same thing.
Cheers.