NAT issue

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

NAT issue

Sumanth V
Hi All,
             I have written a streaming sever and client application using udpsrc and udpsink plugins respectively , where the server streams the data to the client over a perticular port.  this works perfectly when both server and client are in the same LAN. But when the server and client are in a different LAN, with a server having a global ip and client with a local LAN ip i need to unblock the ports at the router for the streaming application to work. Is there a method which i can use, so that client works without unblocking the ports on the router?


regards,
Sumanth.V

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: NAT issue

Bram Cymet
HI,

Just out of curiosity why did you call this a NAT issue? It sounds more like a firewall issue. The only way that this could work without having to unblock ports is to use a port the you already know to be open. Is having the clients open up the ports really a problem. This is the whole idea behind firewalling. Block out everything except the ports that you need open but if you need a port you should be able to use it. If the people that are using your client are concerned that this would be a security risk just ensure them that your app does not have any whole (once  you have made sure that this is true of course).

Bram

On 07/27/2010 05:04 AM, Sumanth V wrote:
Hi All,
             I have written a streaming sever and client application using udpsrc and udpsink plugins respectively , where the server streams the data to the client over a perticular port.  this works perfectly when both server and client are in the same LAN. But when the server and client are in a different LAN, with a server having a global ip and client with a local LAN ip i need to unblock the ports at the router for the streaming application to work. Is there a method which i can use, so that client works without unblocking the ports on the router?


regards,
Sumanth.V
------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://ad.doubleclick.net/clk;226879339;13503038;l? http://clk.atdmt.com/CRS/go/247765532/direct/01/
_______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


-- 
Bram Cymet
Software Developer
Canadian Bank Note Co. Ltd.
Cell: 613-608-9752


------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: NAT issue

Nathanael D. Noblet
In reply to this post by Sumanth V
On 07/27/2010 03:04 AM, Sumanth V wrote:
> Hi All,
>               I have written a streaming sever and client application
> using udpsrc and udpsink plugins respectively , where the server streams
> the data to the client over a perticular port.  this works perfectly
> when both server and client are in the same LAN. But when the server and
> client are in a different LAN, with a server having a global ip and
> client with a local LAN ip i need to unblock the ports at the router for
> the streaming application to work. Is there a method which i can use, so
> that client works without unblocking the ports on the router?

Look into Upnp or other Nat traversal solutions, there are lots of
protocols with issues like this. Also you may want to look at using a
tcp server/client instead of udp as once connected from the client, two
way communication happens, whereas with udp maybe not??

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: NAT issue

Andrey Nechypurenko-2
Hi,

>               I have written a streaming sever and client application
> using udpsrc and udpsink plugins respectively , where the server streams
> the data to the client over a perticular port.  this works perfectly
> when both server and client are in the same LAN. But when the server and
> client are in a different LAN, with a server having a global ip and
> client with a local LAN ip i need to unblock the ports at the router for
> the streaming application to work. Is there a method which i can use, so
> that client works without unblocking the ports on the router?

This was one of the reasons why we decide to use ZeroC's Ice
middleware with appsrc/sink for our streaming purposes. They have
pretty powerful solution for firewall related problems -
http://www.zeroc.com/doc/Ice-3.4.1/manual/Glacier2.43.2.html.

We will provide more details in our presentation at GStreamer conference.

Regards,
Andrey.

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel