User Tools

Site Tools


unix:stora

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
unix:stora [2011/02/02 07:09]
ben created
unix:stora [2014/02/19 11:53] (current)
ben
Line 1: Line 1:
-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.+====== Open Port via iptables - 1 ====== 
 +To open arbitrary ports on a NetGear Stora (if you don't like UPnP), edit /​etc/​init.d/​iptables and add a variable near the top of the file called TCP_OPEN_PORTS_EXT.
  
 <​code>​ <​code>​
-export DEF_PROFILE=`grep '​^defaultProfile'​ $OEADMIN_CONFIG | awk '​{print $2;}'` 
 export TCP_OPEN_PORTS_EXT=29101 export TCP_OPEN_PORTS_EXT=29101
 </​code>​ </​code>​
Line 9: Line 9:
  
 This is necessary if you want to setup an arbitrary daemon on the system, like transmission,​ maybe. 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:
 +<​code>​
 +# 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
 +</​code>​
 +
 +
 +====== Open Port via iptables - 2 ======
 +
 +This can also be accomplished by editing /​etc/​iptables/​config... doh.
 +
 +====== Packages for ARM ======
 +
 +Apparently Drobo has the same armv5tejl architecture,​ [[http://​www.droboports.com/​app-repository/​|so many pre-compiled binaries (like netcat) are available for the Stora here]]. ​
unix/stora.1296648557.txt.gz · Last modified: 2011/02/02 07:09 by ben