Tech Support > Microsoft Windows > Development Resources > implementing VPN client
implementing VPN client
Posted by Dautkhanov@gmail.com on January 25th, 2007


Hello !

I have to implement just a little program that will do authorization
via VPN to server.
OS is Windows. I know that it is implemented internally. But it will be
used for
Internet access authentication and this little program need to output
short messages
like a "you have not funds...", "your balance is -12.06", "password or
login name is wrong",
"your account has been locked by administrator", etc.

Is it possible to attach functionality of some standart winodws
libraries or I need to
implement network stack of VPN-aware protocols?

Any information, libaries names, links will be very wellcome!!

Thanks

Posted by Sten Westerback \(MVP SDK\) on February 1st, 2007



<Dautkhanov@gmail.com> wrote in message
news:1169717072.113918.112820@s48g2000cws.googlegr oups.com...
If you want to implement VPN client yourself then you will have to...
implement VPN client yourself
You'll need the DDK, lots of experience and knowledge of the VPN related
protocols.

Of course, you could also team up with some well known VPN vendor and ask
them if you could implement a better client than their own...

- Sten



Posted by Sten Westerback \(MVP SDK\) on February 1st, 2007



<Dautkhanov@gmail.com> wrote in message
news:1169717072.113918.112820@s48g2000cws.googlegr oups.com...
If you want to use some already installed VPN, look at the Ras* function
set.

- Sten



Posted by Jerry Coffin on February 4th, 2007


In article <t_gwh.47287$Nb2.900536@news1.nokia.com>,
REMOVE_IF_NOSPAM_ext-sten.westerback@nokia.com says...

[ ... ]

I don't think you need the DDK -- at least as long as you can restrict
your client to Winsock 2 or above. Winsock 2 allows you to open raw
sockets, which allow you to encode packets pretty much as you please.

Depending on the sort of VPN you have in mind, you may not even need
that. There are, for example, VPNs that encode everything into TCP
packets, typically using a common socket number such as 80, so most
firewalls will already be configured to allow the packets. Mostly it's a
question of what you put into the packets, and ensuring that the
machines in both ends interpret the contents compatibly.

--
Later,
Jerry.

The universe is a figment of its own imagination.

Posted by Dautkhanov@gmail.com on February 5th, 2007


I am not going to implement raw functions that already implemented in
Windows,
but just want to create a "frame" program, that will use them.

So, question number one - Is any examples for programs, which will
create VPN link?
It must also add default route to the VPN server, create standart icon
in the tray for
this connection and so on...

Thanks

Posted by Dautkhanov@gmail.com on February 5th, 2007





Similar Posts