Take the 2-minute tour ×

Can someone point me in the right direction? I wish to distribute a WCF peer to peer cloud over the internet. So far I've seen examples of how it works on the same subnet. I wish to push it a little further.

share|improve this question

4 Answers 4

up vote 4 down vote accepted

I believe you'll need to look into using IPV6 Teredo Tunneling for crossing NAT and firewalls, so maybe check out this on WCF transports from MSDN.

Also, take a look at the PRNP series Kevn Hoffman did this year.

share|improve this answer

Depending on your application you may want to check out Groove Virtual Office, which was recently acquired by Microsoft and shipped with Office 2007. I don't believe it uses WCF, but it certainly uses .NET and has an SDK available that should allow you to create a P2P application with ease.

If you are developing for the enterprise, be prepared to deal with scalability problems.

share|improve this answer

I will look into Live Mesh, it may be the solution to my problem.

share|improve this answer

So even though this is a year later...

Haven't you tried out the One click deployment method? Or what about just having the MSI install package for download? Is the deployment or the communication that you are trying to solve. Sounds like a distribution problem.

The method for getting pat NAT problems is called "Nat Traversal".

share|improve this answer
no this is not a distribution problem. the problem is related to the actual technology. the peer to peer binding is limited to a subnet. –  Alexandre Brisebois Dec 13 '09 at 12:37
So basically you want to connect peers from behind a NAT? Well then you're in a for a good time. So WCF doesn't natively support this (as I've come to realize) which means that you either have to use UPnP or implement NAT Traversal (en.wikipedia.org/wiki/NAT_traversal) to get the peers to communicate. Interestingly enough I'm also delving into this area to write a library for c# that would be able to do this. Perhaps we should collaborate? –  user220583 Dec 14 '09 at 15:02

Your Answer


