OS requirements and run as a service - WeOnlyDo Discussion board

OS requirements and run as a service (wodVPN)

by taliasimoneaux01, Friday, February 28, 2014, 04:21 (3920 days ago)

Hi, we have private network behind a firewall and we have Windows XP, Vista, 7 and 8 as OS, we want to purchase your software but first we need some info before we commit.

1. We will be using C# to compile the wodvpn and we need to know what is the software requirements for the wodvpn to work on all those oprating systems, like .NET, directx or any other software that we need to install before so we can run the wodVPN exe.

*(Can you tell us the system requirements for all ( VB, VC, Delphi, VB.NET and C#) if there are any differences.

2. We will have a public server running the Mediator and we need to know if a peer can wait on the mediator for hours/days/weeks before another peer can locate it.
The reason for this is that we will have multiple instances of wodVPN running on our main server behind a firewall, and a client will have to connect to it through the VPN when it needs to send data to the server, and that can be every hour/day/week.

3. Do you have any example of C# code to make the wodvpn run as a service?
And if so can a small installer be used to register the dll, add and start the service and set it to autostart on boot?

4. Proxy support, wodVPN implements SOCKS4/4A/5 protocol, is this a socks server that can be started on a peer? or do we need to install a separate socks server on a local port of that peer and forward the port through VPN?

5. Can we execute commands from a peer to another peer without a third party software? if not, can we use SSHServer as a way to execute commands from a peer to another peer? if so, can we use SSHServer as proxy just like "ssh -ND..."? and if so, can we make SSHServer run as a windows service?

*Do we need to use SSHTunnel with SSHServer to create a local socks server or the SSHServer can do that by itself?

6. i see the C# have a Interop.WODVPNCOMLib.dll, is that required on every OS and do i have to register it? and can a exe work only with that dll? or do i have to register wodvpn.dll on every OS?
Can the dll's and the exe be merged together for more simple deployment? Or do i need to use third party software to do that?

7. can i build only a exe without no dll's to do all the things we want if we purchase the source and if so do you have and example code to do that?
It doesn't have to be C#, it can be VC or any language.

Thank you for your support and excuse my english, we are from Germany.

OS requirements and run as a service

by wodSupport, Friday, February 28, 2014, 07:15 (3920 days ago) @ taliasimoneaux01

Hi.

Let me try to help and answer your questions:

1) THere are no requirements for wodVPN, in wodVPN.dll is all there is needed

2) In theory yes, but not very good idea. All about mediators is to have outgoing port assigned by your firewall/router close to one that will be used for P2P connection. If you wait days between one assigned for mediator, and one assigned for P2P, they will be hard to guess by remote side. I strongly suggest some sort of presence algorithm before making a connection.

3) No, sorry, but I guess basic sample for service will so, just create new project with Visual Studio and that's it. Make sure it contains "message pump" and not call Thread.Sleep because wodVPN has to process messages since it lives in same thread as your main code

4) No need to install anything. One side implements Proxy server, so you can point your clients using SOCKS to wodVPN, it will negotiate where to connect, and when it finishes proxy negotiation, it will route through remote wodVPN to the destination

5) it's up to you. You can define internal mechanism for that, and then send message from one wodVPN to other one, and process it by yourself in some way

6) Interop is a wrapper made by NET framework, and it's out of our control. It will be generated on all windowses. You must register wodVPN as everyone other COM/ActiveX. I doubt you can avoid it, and I doubt you will be able to use 3rd party software "mergerer" for COM. In theory, you could purchase the source and embedd it directly, but source is pure native C++ and you will not be able to link it statically with NET apps.

7) No, unfortunately you cannot avoid the DLL. As mentioned in 6, you could rebuild if you wish but I'm not sure how you will statically link with C# code.

Hope I helped at least a bit!

Regards,
Kreso

OS requirements and run as a service

by taliasimoneaux01, Friday, February 28, 2014, 19:28 (3919 days ago) @ wodSupport

Thank you for your info, i need more info on the Proxy support, wodVPN implements SOCKS4/4A/5 protocol.

Can this proxy be used to browse the internet? or is just a port forward proxy?
Just setting the Firefox socks 5 to 127.0.0.1:9999 and forwarding the 9999 port to port 80? Is this possible? And we don't want to browse just the local Apache server located on port 80, browse the web just like a normal proxy.

In our situation we have a internal network that can access the internet only through a proxy server located on a PC that have Internet access, can we use wodVPN so that a peer can access the internet through the other peer without using a separate proxy server? or do we need to have a local proxy server for internet access setup on the other peer and just forward the port?

Thank you

OS requirements and run as a service

by wodSupport, Friday, February 28, 2014, 20:47 (3919 days ago) @ taliasimoneaux01

Hi.

If I understood all correctly, then answer is yes. You don't need any other proxies. Since SOCKS is supported, client can connect through wodVPN's peer to any remote host/port (not only local apache) so I guess this is what you need.

Of course, you're welcome to install wodVPN on two separate computers and try this configuration. We'll be happy to help in case of issues you encounter.

Regards,
Kreso

OS requirements and run as a service

by taliasimoneaux01, Friday, February 28, 2014, 21:58 (3919 days ago) @ wodSupport

I installed it on 2 computers, i am running the

wodVPN\C#\1. Simple\bin\Release\wodVPN CS Sample.exe

on both, they are connected,

on PC1 (Windows 8) i have a working internet connection, and it is listening on port 50864

on PC2 (Windows XP) no internet and is listening on port 1134

I tried adding socks Host to 127.0.0.1:50864 on my Firefox, and it doesn't work, i also tried 127.0.0.1:1134, same result, i can't access the internet.

On my firefox i have network.proxy.socks_remote_dns set to true, when i set the socks to my internal proxy server, 10.0.0.10:9999 I can access the internet from PC2

So my question is: Do i need to add any TCP Forwarding Channel Listen On and Redirect to on a specific port to be able to access the internet through PC1?

Thank you

OS requirements and run as a service

by wodSupport, Friday, February 28, 2014, 21:59 (3919 days ago) @ taliasimoneaux01

Hi.

DId you add TCPSocksProxy channel after you connected?

http://www.weonlydo.com/VPN/Help/wodVPN-VPNChannels-Add.html

So, on that channel open local 1080 ( most usual) and start it. Then point your firefox to 127.0.0.1:1080 to make it work.

Kreso

OS requirements and run as a service

by taliasimoneaux01, Saturday, March 01, 2014, 11:10 (3918 days ago) @ wodSupport

Thank you, it worked.