Is it possible to run a program upon VPN connection?

H

h7qvnk7q001

Is there any way to execute a program on the server when a user makes a
VPN connection? This option is under the User Properties Environment
tab, but only applies to terminal services logons. How can the same
thing be done with a VPN (or dial-in) connection?

This is on Windows 2000 Server.

Thanks,

Tim.
 
R

Robert L [MS-MVP]

you may want to do ts over vpn.

TS over VPN Save or export a VPN client settings for others. To use TS over VPN, normally you need to establish VPN using the VPN username and password first. ...
www.howtonetworking.com/VPN/tsovervpn1.htm



Bob Lin, MS-MVP, MCSE & CNE
How to Setup Windows, Network, VPN & Remote Access on http://www.HowToNetworking.com
Networking, Internet, Routing, VPN Troubleshooting on http://www.ChicagoTech.net
This posting is provided "AS IS" with no warranties.
Don't send e-mail or reply to me except you need consulting services. Posting on MS newsgroup will benefit all readers and you may get more help.
Is there any way to execute a program on the server when a user makes a
VPN connection? This option is under the User Properties Environment
tab, but only applies to terminal services logons. How can the same
thing be done with a VPN (or dial-in) connection?

This is on Windows 2000 Server.

Thanks,

Tim.
 
H

h7qvnk7q001

Robert,

What I'm looking for is a way to run a program when a VPN connection is
made, regardless of whether the user logs on to TS or not. As you note,
when using TS over VPN, you first establish a VPN. I want to run the
program at the VPN establishment, not at the TS logon. How can I do
that?

Thanks!
 
R

Robert L [MS-MVP]

Thank you for the update. TS over VPN just a example. You can create a batch file including establish the VPN and follow by the running the program or use CMAK.

Here are some of them.
1. Add pre-setup VPN auto-connection by CMAK to the Startup.
2. Create a logon batch with rasdail command to start the VPN connection.


Bob Lin, MS-MVP, MCSE & CNE
How to Setup Windows, Network, VPN & Remote Access on http://www.HowToNetworking.com
Networking, Internet, Routing, VPN Troubleshooting on http://www.ChicagoTech.net
This posting is provided "AS IS" with no warranties.
Don't send e-mail or reply to me except you need consulting services. Posting on MS newsgroup will benefit all readers and you may get more help.
Robert,

What I'm looking for is a way to run a program when a VPN connection is
made, regardless of whether the user logs on to TS or not. As you note,
when using TS over VPN, you first establish a VPN. I want to run the
program at the VPN establishment, not at the TS logon. How can I do
that?

Thanks!
 
H

h7qvnk7q001

Robert,

I think I'm not communicating my request clearly. I'm looking to run a
program on the _server_ when a VPN connection is made. CMAK, rasdial,
etc. are for the client side. I want to run a program on the VPN server
(Win2K Server) when a particular user connects a VPN. TS offers this
facility under the User Properties Environment tab, but it doesn't work
for the VPN connection. How else could I trigger a server-side action
when a VPN connection is established? The VPN connect event gets logged
- is there any way to hook the logging process to kick off a program?

Thanks!
 
N

neilpick

Hi, (new here) I'm having related problem. I am using goldmine 5 and
can access the server side from my remote location using VPN - i can d
eveything one can do from the server side (main office) except send o
receive mail. I get an error "Goldmine cannot connect to the server..
system error 11001" which appears as though there is no net connectio
at the server side. However there is... I can get my head round thi
is VPN interfering in some way?
neil

*Robert,

I think I'm not communicating my request clearly. I'm looking to ru
a
program on the _server_ when a VPN connection is made. CMAK
rasdial,
etc. are for the client side. I want to run a program on the VP
server
(Win2K Server) when a particular user connects a VPN. TS offers this
facility under the User Properties Environment tab, but it doesn'
work
for the VPN connection. How else could I trigger a server-sid
action
when a VPN connection is established? The VPN connect event get
logged
- is there any way to hook the logging process to kick off
program?

Thanks!

create a batch file including establish the VPN and follow by th
running the program or use CMAK.


-
neilpic
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top