Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Anyone able to use DSS behind a firewall?



I was able to make this work once I got some of the confusion cleared in my head. But as you will see below I'm still foggy...

Here are the settings that worked:

The server is NOT on the firewall. It's a separate machine behind the firewall. Apache was moved to port 8080 and the DSS is set to stream on port 80. The firewall is running IPF on a 4.7 stable build of FreeBSD.

ipf settings to allow connection through:
pass in quick on dc0 proto tcp from any to 192.168.0.2/32 port = 80 flags S keep state keep frags
pass in quick on dc0 proto tcp from any to 192.168.0.2/32 port = 8080 flags S keep state keep frags


Ipnat settings to forward packets:
rdr dc0 0.0.0.0/0 port 80 -> 192.168.0.2 port 80 tcp
rdr dc0 0.0.0.0/0 port 8080 -> 192.168.0.2 port 8080 tcp

I can now connect to my movie by going to rtsp://12.100.23.254/civic_web.mov from the Internet.
It streams fine.


The next step is to make it so that a user get the best version for their connection.

I'm still a little confused over hinting a movie. Is the only way to hint a movie with QT Pro? When you throw in the MakeRefMovie tool to the mix I am still a little foggy. MakeRefMovie makes multiple copies a movie for different bandwidth, right? If I have QT Pro is MakeRefMovie unnecessary and redundant?

The docs also mention you can make a plain text file with the content of:
rtsptext rtsp://my.streamingserver.com/some_movie.mov -- My understanding is that this is just a pointer I can place outside the streaming server and point to the movie. Why do I need this if I can point right to the movie in the DSS movie folder and it streams already?


Thank for any clarifications.

Jim



movie folder: /usr/local/share/DarwinStreamingServer/movies/
For the past few days I've been banging my head against the wall
trying to get the Darwin Streaming server (4.1.1 from the FreeBSD
ports system) to work behind an IPF firewall. The server works fine
inside of the LAN.

I opened up these ports in my ipf.conf. I moved apache to 8080 so I
could stream DSS via 80:
pass in quick on dc0 proto tcp from any to 192.168.0.2/32 port = 80
flags S keep state keep frags
pass in quick on dc0 proto tcp from any to 192.168.0.2/32 port = 8080
flags S keep state keep frags

In Ipnat I'm redirecting the traffic to the server:
rdr dc0 0.0.0.0/0 port 80 -> 192.168.0.2 port 80 tcp
rdr dc0 0.0.0.0/0 port 8080 -> 192.168.0.2 port 8080 tcp

Apache has no trouble working from the net on 8080.

I just don't think it's an issue with how my firewall is configured.

I found a poster on the DSS list who had the same kind of trouble.
Here was his response to my query if he ever solved his problem:

"I'm convinced that this is a problem with DSS/QTSS's code.

They have kind of alluded to this in their posts when they say that DSS
doesn't really like this setup.  I've been dealing with this issue since
July.  I still don't have a solution.  I've tried everything.  It just makes
no sense that you can't put the server behind a firewall.

I tried everything--from open ports to using DNS tricks to you name it.  For
whatever reason, the server doesn't like having one address on the network
and having a different address on the Internet.

Like I said in the post, I've been doing this with lots of builds of
RealNetworks with no problems since 1998.  It's driven me crazy and I've all
but given up"

Any help or guidance would be greatly appreciated. Anyone running DSS
behind a firewall out
to the internet?

Jim
_______________________________________________
streaming-server-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/streaming-server-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Anyone able to use DSS behind a firewall? (From: Jim Arnold <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.