Re: I need a peer to peer connection exclusively f - WeOnlyDo Discussion board

Re: I need a peer to peer connection exclusively f (General questions)

by wodsupport, Tuesday, April 02, 2013, 22:41 (4207 days ago) @ nivinbas

Hi. I tried to explain the benefit - wodVPN doesn't require static IP addresses, and both sides can be behind firewall.

As for the code, if you take our first sample, in wodVPN1_Connected event, replace line where channel is added to

wodVPN1.Channels.Add LocalListed, 127.0.0.1 , 1433, 127.0.0.1 , 1433

so local wodVPN instance listens on local 1433, and reidrects all connecton to remote wodVPN, which then redirects htem to his-side 127.0.0.1:1433

That should do the trick.

Kreso


Complete thread: