PDA

View Full Version : SB2 Wireless under Slackware Linux 10.0



joman
2005-08-12, 14:54
I just got my SB2 today. I have the following path to the slimserver box:

cable modem -> linksys WRT54G wireless switch -> Slack Linux box

I have a firewall on the Linux box. It protects my non-wireless network. The only thing on my wireless switch, is the SB2.

The SB2 could not attach to the Slimserver that is on the Linux box, because of the firewall rules on that box. Here is what I had to do:

# Slimserver - Enable the following lines if you run an INTERNAL Slimserver server
#
$IPTABLES -A INPUT -i $EXTIF -m state --state NEW,ESTABLISHED,RELATED \
-p tcp -s $UNIVERSE -d $EXTIP --dport 3483 -j ACCEPT
$IPTABLES -A INPUT -i $EXTIF -m state --state NEW,ESTABLISHED,RELATED \
-p udp -s $UNIVERSE -d $EXTIP --dport 3483 -j ACCEPT
$IPTABLES -A INPUT -i $EXTIF -m state --state NEW,ESTABLISHED,RELATED \
-p tcp -s $UNIVERSE -d $EXTIP --dport 9000 -j ACCEPT

Where 'UNIVERSE' is "0.0.0.0/0", 'EXTIF' is "eth1", and 'EXTIP' is "`$IFCONFIG $EXTIF | $AWK \
/$EXTIF/'{next}//{split($0,a,":");split(a[2],a," ");print a[1];exit}'`"

Hope this helps someone else.

Jon