User Tools

Site Tools


unix:stora

This is an old revision of the document!


To open arbitrary ports on a NetGear Stora, edit /etc/init.d/iptables and add a variable near the top of the file called TCP_OPEN_PORTS_EXT.

export TCP_OPEN_PORTS_EXT=29101

Then issue a restart via “/etc/init.d/iptables restart”.

This is necessary if you want to setup an arbitrary daemon on the system, like transmission, maybe.

This works because the iptables script includes a section that uses the variable:

# Accept the 3rd party ports that are set to be opened:
    if [ ! -z "${TCP_OPEN_PORTS_EXT}" ]; then
        for port in $TCP_OPEN_PORTS_EXT; do
                iptables -A INPUT -p tcp --dport $port -j ACCEPT || die
        done
    fi
unix/stora.1296649003.txt.gz · Last modified: 2011/02/02 07:16 by ben