[ltp] realplayer stopped working ??

Bill Barnard linux-thinkpad@linux-thinkpad.org
16 Jul 2003 07:54:45 -0700


These are the rules I have on my iptables firewall running on my machine
that connects to the outside world:

###############################################################
# Accessing Real Audio Servers (TCP 7070, 554)
# and incoming ports (UDP 6970 - 7170)

iptables -A FORWARD -i $LAN_INTERFACE -o $INTERNET_INTERFACE -p tcp \
         -s $LAN_ADDRESSES --sport $UNPRIVPORTS \
         --dport 7070 \
         -m state --state NEW -j ACCEPT

iptables -A FORWARD -i $LAN_INTERFACE -o $INTERNET_INTERFACE -p tcp \
         -s $LAN_ADDRESSES --sport $UNPRIVPORTS \
         --dport 554 \
         -m state --state NEW -j ACCEPT

iptables -A INPUT -i $INTERNET_INTERFACE -p udp \
         --sport $UNPRIVPORTS \
         -d $IPADDR --dport 6970:7170 -j ACCEPT

iptables -A FORWARD -i $INTERNET_INTERFACE -o $LAN_INTERFACE -p udp \
         --sport $UNPRIVPORTS \
         -d $LAN_ADDRESSES --dport 6970:7170 -j ACCEPT

Definitions:
INTERNET_INTERFACE="eth0"               # Internet-connected interface
LAN_INTERFACE="eth1"                    # internal LAN interface
$IPADDR="my assigned ip address from my ISP"
$LAN_ADDRESSES="my internal ip address range"
UNPRIVPORTS="1024:65535"                # unprivileged port range

I don't recall why I don't have the stateful firewall rules enabled for
the udp packets - must be that there's no state tracked for udp
connections...

Anyway realplayer works fine for me. Now if only there was something
worth listening to...

Best,

Bill Barnard

On Tue, 2003-07-15 at 18:25, Dan Sawyer wrote:
> All,
> 
> One step forward and one step back. I am able to listen to many audio 
> segments using HTTP. However many other segments fail.
> 
> I believe the HTTP vs TCP issue is related to my firewall. Does anyone 
> know the firewall requirements to allow TCP for RealPlayer??
> 
> Thanks,
> Dan
> 
> Dan Sawyer wrote:
> 
> > All,
> >
> > The system is RH8.0 on a 600x. RealPlayer was working fine. I updated 
> > Netscape to 7.1 and had to change the java settings.
> >
> > Now RealPlayer fails. It gets as far as " contacting" and after a 
> > several seconds it errors with:
> >
> > rstp://start.real.com/rd?pid=rr&url=1003901.smi&radio_ppr=true
> >
> > It plays saved clips ok.
> >
> > The error message speaks of auto-configure. How or where is auto 
> > configure??
> >
> > Thanks,
> > Dan
> >
> >>  
> >>
> >