Gk's Blog
Wednesday, June 01, 2011
  Routing and Remote Access - Limit one connection to the VPN server for specific user
Just Super short note.
I'm using RRAS on windows server 2003 for VPN. I want to limit one connection (one session login to server) for some user. After google I got something very helpful from RRAS blog about creating and adding custom DLL for RRAS (I will list it later). Add some line of code and here we are:
Source (solution file for VS2005):
http://www.mediafire.com/?v0ryq4z5kmf38ur
Dll file (compiled on x86, .NET 2.0):
http://www.mediafire.com/?h7e0ii4bqac3s7v
Please install Microsoft Visual C++ 2005 SP1 Redistributable Package first to use this DLL
http://www.microsoft.com/downloads/en/details.aspx?familyid=200B2FD9-AE1A-4A14-984D-389C36F85647&displaylang=en
Add DLL using this guide:
http://msdn.microsoft.com/en-us/library/aa377858%28VS.85%29.aspx
You need an file named: userlist.txt on c:\windows\system32 folder store username which you want to limit, one per line.

If you want to know what is it, how does it work read these links:
http://blogs.technet.com/b/rrasblog/archive/2008/07/17/limit-one-connection-to-the-vpn-server-per-user.aspx
http://blogs.technet.com/b/rrasblog/archive/2007/12/20/steps-to-develop-a-ras-administration-dll-using-visual-studio.aspx
http://blogs.technet.com/b/rrasblog/archive/2007/12/16/ras-administration-dll-your-customized-solution-to-manage-the-server.aspx

Hope this helps.

Labels:

 

My Photo
Name:
Location: Hanoi, Vietnam
Archives
July 2009 / November 2009 / January 2010 / August 2010 / September 2010 / June 2011 / September 2013 /


Powered by Blogger

Subscribe to
Posts [Atom]