wodWPN makes data transfer peer to peer or over a (General questions)
by suathd, Thursday, February 07, 2008, 18:31 (6133 days ago)
I have VNC client & VNC server applications written in Delphi7.
I will use my own mediator (with wodWPN).
I want to be sure that All the incoming and outgoing data will pass over the mediator or not.
I expect that after 2 side (client and server) connected to the mediator, a peer to peer connection will be established between them and the mediator's duty will finish.
Otherwise it is not logical to pass all the data over mediator.
I already can do this without using wodVPN.
Re: wodWPN makes data transfer peer to peer or ove
by wodSupport, Thursday, February 07, 2008, 18:39 (6133 days ago) @ suathd
Hi.
Yes, you're right, mediator's job is finished after SearchDone event fires. You can even kill mediator if you like after Search completes.
You can see full mediator source at
http://www.weonlydo.com/VPN/Help/Mediator.html
and as you can see there's not full data redirect , it only is used to help each other locate other peer.
Hope this helps!
Kreso
Re: wodWPN makes data transfer peer to peer or ove
by suathd, Thursday, February 07, 2008, 20:45 (6133 days ago) @ wodSupport
It seems ok. It seems great :)
I'll try. If I can get success, I'll purchase immediately.
Re: wodWPN makes data transfer peer to peer or ove
by suat, Wednesday, February 13, 2008, 19:15 (6127 days ago) @ suathd
I'm sure that the wodVPN uses P2P for data transfer.
If I make data transfer over wodVPN, there is no problem.
But I must make data transfer over third party applications.
I'll use wodVPN just obtaining IP's and ports of each peers.
What is the steps for doing this. The steps you mentioned before about connecting SQL server didn't work. May be I applied it wrongly.
My third party applications are VNC server and VNC client.
VNC Server can listen any port (defult one is 5900). VNC client can connect to server over any port (default one is 5900 also).
How can I connect my VNC client to my VNC server?
PS: Both are behind the NAT and there is no manuel (over modem) port forwarding for VNC Server.
thanks... [:wink:]
Re: wodWPN makes data transfer peer to peer or ove
by wodDamir, Wednesday, February 13, 2008, 20:15 (6127 days ago) @ suat
Hi Suat,
The wodVPN provides you with client IP address in SearchDone Event. You can use that IP address to connect any third party app. However, if those machines are behind NATs we can't guarantee that you will be able to connect successfully as the traffic isn't going thru wodVPN any more.
However, you still can make it run thru wodVPN, by adding channels and redirect ports that way. In that case, the traffic will be going over wodVPN ofcourse.
Regards,
Damba
Re: wodWPN makes data transfer peer to peer or ove
by wodSupport, Wednesday, February 13, 2008, 20:40 (6127 days ago) @ wodDamir
What Damir tried to say is that IP/Port that is provided in SearchDone event is no use for you directly. This is UDP port and you could, in theory, use it only if you would use UDP packets. Since VNC uses TCP packets, yuo cannot reuse that, yuo must us wodVPN's Connect method and then add Channel in it, and use wodVPN's redirection.
Kreso
Re: wodWPN makes data transfer peer to peer or ove
by suat, Wednesday, February 13, 2008, 23:56 (6127 days ago) @ wodSupport
I tried what you said. But the connection cannot be established between VNC Server and VNC Client.
Here is the What I did:
1) I run WodVPN sample1 application on server side (let say S), and Closed the foreground window
2) I run WodVPN sample1 on Client side (let say C) , and Closed the foreground window
3) I run my VNCServer on S
4) I filled <MyId>, <RemoteId> and <Password> fields on Sample1 applications in both S and C, and started search at almost same time.
5) Host Name and Ports are found by both Sample1 applications. Sample1 on S informed me about C's IP and Port
6) I clicked the <Connect> button on S. So connection established between S and C.
7) On S, I entered the 127.0.0.1 - 5900 and C's IP - 5900 pairs in order to Forward channels.
8) Channel successfully Added. Finally I run VNC Client on C and tried to connect VNC server on S.
Unfortunatelly connection cannot be established (time-outed)
what is wrong in this process?
Re: wodWPN makes data transfer peer to peer or ove
by wodSupport, Thursday, February 14, 2008, 00:02 (6127 days ago) @ suat
You did all ok, but in step 7 on both IP's enter 127.0.0.1 - this means, from client's perspective, bind on 127.0.0.1, and then from peer's perspective connect to HIS 127.0.0.1 (his 127.0.0.1 is peer himself),
Can you that that?
Kreso
Re: wodWPN makes data transfer peer to peer or ove
by suat, Thursday, February 14, 2008, 01:31 (6127 days ago) @ wodSupport
Yes. Now, I applied step 7 and 8 as below
7) On S, I entered the 127.0.0.1 - 5900 and C's IP - 5900 pairs in order to Forward channels. On C, I entered 127.0.01 -5900 and B's IP - 5900 pairs in order to forward channels.
8 ) On S and C, channel are successfully Added. Finally I run VNC Client on C and tried to connect VNC server on S (pointing B's IP and 5900).
still no connection (timed out!)
:(
probably 5900 port on S is disabled (masked) on modem.
But it can be usual in real life. I think wodVPN must help us, about the ports that we must use. I can start VNC server by using this port.
Re: wodWPN makes data transfer peer to peer or ove
by suat, Thursday, February 14, 2008, 01:40 (6127 days ago) @ suat
correction: I meant S's IP where I wrote B's IP in my prior message.
Re: wodWPN makes data transfer peer to peer or ove
by wodDamir, Thursday, February 14, 2008, 09:29 (6127 days ago) @ suat
Hi Suat,
Just did some tests. Here is what my config:
1:
Machine A: running VNC Server (IP1, port 5900)
Machine B: running VNC Client (IP2)
Both machines running VPN, they're cussessfully connected.
2:
On client machine (Machine B), I did the following:
Listen on IP: 127.0.0.1 on port: 5900
Redirect to: IP1 on port: 5900
That's as much as it goes for the config. No I simply run my VNC Client and connect to 127.0.0.1.
Can you try the same configuration?
Regards,
Damba
Re: wodWPN makes data transfer peer to peer or ove
by suathd, Thursday, February 14, 2008, 16:54 (6126 days ago) @ wodDamir
Hi Suat,
Hi;
My only mistake was entering S's IP and 5900 in VNC Client;
After using 127.0.0.1:5900 in VNC client, a connection is established with remote VNC server (on computer S).
But, connection closes immediately (less than 1 second). I'll try to solve this problem myself (because vodVPN establishes the connection).
After solving my problem, I'll consider performans issue. Because I think all the data pass through the sample1 aplications (in both side) and reach the VNCs.
many thanks for your support ;)