While True Dim socket As Socket = tcplistener.AcceptSocket()ĭim thread As New Thread( New ThreadStart( AddressOf n))Įnd While End Sub ' Main End Class ' WebProxy2 End Namespace ' WebProxy2 Private read() As = New Byte( 1024) ", +port)
I'm not a rich man by any means, but I'd pay someone to develop some of these ideas.if I could find someone that knew kung-fu from kung-pow and was interested.Copy Code Imports System ' Imports System.Net Most of them are too busy for new projects. But, the really good programmers are few and far between on there. I've even sunk as low as to go on RentACoder and try and hire someone. I think I can pull this one off myself entirely in managed code - but that means a bloated. I want to create a server and client control to make NAT transversal easy for anybody. I already have a code for the username and computer.
In fact, I have written permission from the guys that wrote the mirror driver for TightVNC to use thier mirror drivers for such a client/server solution, but I don't even know enough C++ to put the damned thing to use. Hi, Id like to know if theres a simple code to get the vpn and ip address of a computer or where internet connection is connected. I'd like a VNC activeX CONTROL to go with it. To bring the RAD of VB together with the really cool stuff that could make so many applications that much more interactive and just plain cool.įor instance, I'd like a VNC server CONTROL that you could use to extend and make your own remote control server. I also want to make neat technologies available to more people via simple to use controls. It'd take so much time to learn to write device dirvers and such that somebody else would probably get it done before me. I probably need to learn C++, but I'd rather hire people to write it than to do that. It's purpose is to remain free and not sell out like Hamachi did. Based on your question you would have an awful lot to learn (OSI/packet format/.).Īctually I wanted to code a simple VPN in VB.Net 2005.
If you really want to know how to make one - go read the source code for OpenVPN. In conclusion - why do you want to write VPN software? There are plenty of good and open solutions available now (OpenVPN/ssh port forwarding etc. Otherwise massive chunks of data could be lost and you'd never know. But then UDP has a whole host of problems like - for example there is no way for you to know if a packet reached the target or not, so you would most likely have to implement your own sliding window type thing to ensure delivery. Yes, you could make it to send the VPN data through the UDP hole in the firewall. Note that this is a dirty solution, and real VPNs are much, much more complicated than this. Then there would be a separate service which frequently picks up the data from this buffer, packages it up and sends it to the server, which unpackages it, and forwards it on. Generally, there would first be a driver written which pretends to be a network interface on the host computer (ie - behaves exactly the same as a network driver) but instead of sending the actual I/O to the physical network card, it would package it all up in some kind of buffer somewhere (file/shared memory/.). I am assuming you want to create a simple VPN, one Windows PC to a server.
There are a dozen different situations, and a dozen differnt ways of doing it - but let me just go with a simple approach here. Let me just first say, yes it is difficult.