Re: VPN Working - WeOnlyDo Discussion board

Re: VPN Working (General questions)

by woddrazen, Sunday, October 07, 2007, 19:13 (6055 days ago) @ Zeeshan Alam

Alam,


1) Yes, PC A should search also for PC C.

To establish two connections (from for example PC A to PC B and PC C) you should make two instance of wodVPN. One instance will connect to PC B and other one to PC C.

2) For port forwarding you should use wodVPN Channel Object - Add Method.

In Add Method you can decide which port type you want to use: TCP or UDP and which type of port forwarding you want to use; local port forwarding or remote port forwarding.

Here is example for LocalListen:
------------------------------
vpn1.Channels.Add TCPLocalListen, 127.0.0.1 , 81, 127.0.0.1 , 80
------------------------------

In this case wodVPN will forward remote port 80 to local port 81. You can now open IE and connect to http://127.0.0.1:81 and you will receive remote port 80. This is only possible if there is something on remote side on port 80.

More help for Add Method you can find here:
http://www.weonlydo.com/VPN/Help/WODVPNLib~VPNChannels~Add.html

Let us know how it goes.


Drazen


Complete thread: