VPN password related - WeOnlyDo Discussion board

VPN password related (wodVPN)

by taliasimoneaux01, Sunday, March 02, 2014, 22:04 (3873 days ago)

Hello, we have succeeded in making a auto installing windows service, but we have a problem with wodVPN1.Password, we don't want to hard code the password in the applications, and we have a couple of questions:

1. Can we use wodVPN1.Password = ""; for both peers? or the VPN is not encrypted anymore?
2. For what is that password used?
3. Can we just use unique users like User000001 and still have a secure VPN?

And one more thing, we will have VPN tunnels with some of our affiliates, we can't control the peer on their side, what is a reliable way to have a peer on our public server waiting for their connection? Or do we have to keep a peer open all the time?

Let me explain:
PC1,PC2,PC3 ... = any PC on a private network
PS = Our public server, we can both use our server as a mediator on port 8000 or as a peer when needed, or both in the same time.

When PC1,PC2 and PC3 is trying to make a VPN with our PS can we modify the php script that acts as a mediator to open a local peer on our server if it is unable to locate the remote peer? or based on the name the PC1 peer is looking for? or the remote peer must be already active and registered on the mediator when some other peer is looking for it?

Something like this
PC1 (a a peer named Affiliate00001) is trying to make a VPN with a peer named Server0001, the mediator based on the searched peer(Server0001) can do 2 things:
1. forward the peer to another peer located in our private network that is waiting for the connection
2. Open a peer locally on the same PS and complete the VPN allowing PC1 to access put Public Server resources.

Can the WODVPNCOMLib.wodVPNComClass() be used in a multi threading environment?
So i can just spawn a new thread when a new peer is needed so i don't have to keep 100 instances running and do i need to create a new instance of
wodVPN1 = new WODVPNCOMLib.wodVPNComClass();
in each thread or can i just reuse it?

Is this scenario possible without modifying the wodVPN dll?

Also can we make a peer retry a connection until it succeeds?
How can i check if a

wodVPN1.Search(WODVPNCOMLib.SearchEnum.SrchUDPDouble, "Server0001", "x.x.x.x", 8000, null);

found a peer or not?

Do i have to use _IwodVPNComEvents_SearchDoneEventHandler for that? or wodVPN1.Search returns true or false?


And the last question:

If a tunnel is created, how long can it be active without using it and what system resources does it use for just staying in the idle connected state?
Can i just open a VPN and leave it open all day/week? until one or both peers are closed? and if just one is closed can the other just wait for connections until the closed peer tries to connect again?

Thanks and sorry if i ask too many questions, but i need to explain the whole process to my project manager and programmers and i need to understand it first.


Complete thread:

 

  • VPN password related - taliasimoneaux01, 2014-03-02, 22:04 [*]