Networking Forums

Networking Forums > Computer Networking > Windows Networking > Running a VPN connection as a service

Reply
Thread Tools Display Modes

Running a VPN connection as a service

 
 
=?Utf-8?B?RGVuaXMgQ3JvdHR5?=
Guest
Posts: n/a

 
      11-16-2004, 05:09 PM
HI All,

I'm not sure if this is possible but I am hoping someone here can point me
in the right direction.

The short story is that I have a VPN connection I'd like to always be
connected. So I would like it to be established at boot time without needing
someone to log in and if someone logs in and out I don't want it to
disconnect. Essentially I'd like it to be a service. IS this doable?

Denis Crotty
 
Reply With Quote
 
 
 
 
Phillip Windell
Guest
Posts: n/a

 
      11-16-2004, 05:34 PM
There is more than one kind of VPN. It depends on whether you want a
Site-to-Site VPN or a remote Access VPN.

In a Site-to-Site VPN it also matter what kind of VPN Device is on each end.

--

Phillip Windell [MCP, MVP, CCNA]
www.wandtv.com


"Denis Crotty" <(E-Mail Removed)> wrote in message
news:819B8F4E-9AB2-4142-8AD6-(E-Mail Removed)...
> HI All,
>
> I'm not sure if this is possible but I am hoping someone here can point me
> in the right direction.
>
> The short story is that I have a VPN connection I'd like to always be
> connected. So I would like it to be established at boot time without

needing
> someone to log in and if someone logs in and out I don't want it to
> disconnect. Essentially I'd like it to be a service. IS this doable?
>
> Denis Crotty



 
Reply With Quote
 
=?Utf-8?B?RGVuaXMgQ3JvdHR5?=
Guest
Posts: n/a

 
      11-16-2004, 05:49 PM
Thank you for the quick reply,

I've asked these questions of our IT manager, but I can give you more
details of the situation and maybe you can infer the answers.

We are using the connection to connect to another companies database. It is
a poor solution but it is the one they provided us with.

We use our windows vpn client to connect to their IP and then we can access
their database.

I will follow up with the answers I receive.

Denis Crotty

"Phillip Windell" wrote:

> There is more than one kind of VPN. It depends on whether you want a
> Site-to-Site VPN or a remote Access VPN.
>
> In a Site-to-Site VPN it also matter what kind of VPN Device is on each end.
>
> --
>
> Phillip Windell [MCP, MVP, CCNA]
> www.wandtv.com
>
>
> "Denis Crotty" <(E-Mail Removed)> wrote in message
> news:819B8F4E-9AB2-4142-8AD6-(E-Mail Removed)...
> > HI All,
> >
> > I'm not sure if this is possible but I am hoping someone here can point me
> > in the right direction.
> >
> > The short story is that I have a VPN connection I'd like to always be
> > connected. So I would like it to be established at boot time without

> needing
> > someone to log in and if someone logs in and out I don't want it to
> > disconnect. Essentially I'd like it to be a service. IS this doable?
> >
> > Denis Crotty

>
>
>

 
Reply With Quote
 
Phillip Windell
Guest
Posts: n/a

 
      11-16-2004, 06:03 PM
"Denis Crotty" <(E-Mail Removed)> wrote in message
news:71E4B98C-4BCB-4E16-A49F-(E-Mail Removed)...
> We use our windows vpn client to connect to their IP and then we can

access
> their database.


So each Client initiates its own independent VPN connection using Dial-up
Networking in Windows, so this sounds like a Remote Access VPN with you
being on the "remote" end of the connection. I do not know of any way for
this to remain "always up" unless the user simply makes the connection and
leaves it up all day, but then somtimes there is an auto-disconnect if there
is no activity for a period of time.

--

Phillip Windell [MCP, MVP, CCNA]
www.wandtv.com


 
Reply With Quote
 
=?Utf-8?B?RGVuaXMgQ3JvdHR5?=
Guest
Posts: n/a

 
      11-16-2004, 06:13 PM
Hi Phillip,

We are using a remote access VPN.

Denis

"Phillip Windell" wrote:

> There is more than one kind of VPN. It depends on whether you want a
> Site-to-Site VPN or a remote Access VPN.
>
> In a Site-to-Site VPN it also matter what kind of VPN Device is on each end.
>
> --
>
> Phillip Windell [MCP, MVP, CCNA]
> www.wandtv.com
>
>
> "Denis Crotty" <(E-Mail Removed)> wrote in message
> news:819B8F4E-9AB2-4142-8AD6-(E-Mail Removed)...
> > HI All,
> >
> > I'm not sure if this is possible but I am hoping someone here can point me
> > in the right direction.
> >
> > The short story is that I have a VPN connection I'd like to always be
> > connected. So I would like it to be established at boot time without

> needing
> > someone to log in and if someone logs in and out I don't want it to
> > disconnect. Essentially I'd like it to be a service. IS this doable?
> >
> > Denis Crotty

>
>
>

 
Reply With Quote
 
=?Utf-8?B?RGVuaXMgQ3JvdHR5?=
Guest
Posts: n/a

 
      11-16-2004, 06:15 PM
> So each Client initiates its own independent VPN connection using Dial-up
> Networking in Windows, so this sounds like a Remote Access VPN with you
> being on the "remote" end of the connection. I do not know of any way for
> this to remain "always up" unless the user simply makes the connection and
> leaves it up all day, but then somtimes there is an auto-disconnect if there
> is no activity for a period of time.


HI Phillip,

You have it right. We are able to create an always up style connection once
someone logs in and it starts up. The problem is that if the machine reboots
or we log out it loses the connection. So this has sparked the idea that it
would be ideal if it started as a service at bootup.

Denis
 
Reply With Quote
 
Phillip Windell
Guest
Posts: n/a

 
      11-16-2004, 08:22 PM

"Denis Crotty" <(E-Mail Removed)> wrote in message
news:E13FEC38-BE1C-4E9F-A151-(E-Mail Removed)...
> You have it right. We are able to create an always up style connection

once
> someone logs in and it starts up. The problem is that if the machine

reboots
> or we log out it loses the connection. So this has sparked the idea that

it
> would be ideal if it started as a service at bootup.


I don't belive it is possible. It is the nature of that type of connection.
It is tied to the user so if the user logs out it shuts down,...I don't
think it can exist without the user being logged in.

The Site-to-Site VPN is the one that actually behaves as you want. But it is
not user initiated and the user is never even aware it exists or not.

--

Phillip Windell [MCP, MVP, CCNA]
www.wandtv.com


 
Reply With Quote
 
=?Utf-8?B?RGVuaXMgQ3JvdHR5?=
Guest
Posts: n/a

 
      11-16-2004, 08:30 PM
Alright. Thanks Phillip.

Do you know the executable that windows uses to establish the connection? I
know I can turn basically any executable into a service style process...

Denis

"Phillip Windell" wrote:

>
> "Denis Crotty" <(E-Mail Removed)> wrote in message
> news:E13FEC38-BE1C-4E9F-A151-(E-Mail Removed)...
> > You have it right. We are able to create an always up style connection

> once
> > someone logs in and it starts up. The problem is that if the machine

> reboots
> > or we log out it loses the connection. So this has sparked the idea that

> it
> > would be ideal if it started as a service at bootup.

>
> I don't belive it is possible. It is the nature of that type of connection.
> It is tied to the user so if the user logs out it shuts down,...I don't
> think it can exist without the user being logged in.
>
> The Site-to-Site VPN is the one that actually behaves as you want. But it is
> not user initiated and the user is never even aware it exists or not.
>
> --
>
> Phillip Windell [MCP, MVP, CCNA]
> www.wandtv.com
>
>
>

 
Reply With Quote
 
Phillip Windell
Guest
Posts: n/a

 
      11-16-2004, 08:33 PM
I have no idea.

--

Phillip Windell [MCP, MVP, CCNA]
www.wandtv.com

"Denis Crotty" <(E-Mail Removed)> wrote in message
news:3D81A82E-E8C9-4C29-A176-(E-Mail Removed)...
> Alright. Thanks Phillip.
>
> Do you know the executable that windows uses to establish the connection?

I
> know I can turn basically any executable into a service style process...
>
> Denis
>
> "Phillip Windell" wrote:
>
> >
> > "Denis Crotty" <(E-Mail Removed)> wrote in message
> > news:E13FEC38-BE1C-4E9F-A151-(E-Mail Removed)...
> > > You have it right. We are able to create an always up style

connection
> > once
> > > someone logs in and it starts up. The problem is that if the machine

> > reboots
> > > or we log out it loses the connection. So this has sparked the idea

that
> > it
> > > would be ideal if it started as a service at bootup.

> >
> > I don't belive it is possible. It is the nature of that type of

connection.
> > It is tied to the user so if the user logs out it shuts down,...I don't
> > think it can exist without the user being logged in.
> >
> > The Site-to-Site VPN is the one that actually behaves as you want. But

it is
> > not user initiated and the user is never even aware it exists or not.
> >
> > --
> >
> > Phillip Windell [MCP, MVP, CCNA]
> > www.wandtv.com
> >
> >
> >



 
Reply With Quote
 
Bill Grant
Guest
Posts: n/a

 
      11-16-2004, 10:17 PM
Hi Phillip

You can probably do it through a batch file with rasdial .


"Phillip Windell" <@.> wrote in message
news:(E-Mail Removed)...
>I have no idea.
>
> --
>
> Phillip Windell [MCP, MVP, CCNA]
> www.wandtv.com
>
> "Denis Crotty" <(E-Mail Removed)> wrote in message
> news:3D81A82E-E8C9-4C29-A176-(E-Mail Removed)...
>> Alright. Thanks Phillip.
>>
>> Do you know the executable that windows uses to establish the connection?

> I
>> know I can turn basically any executable into a service style process...
>>
>> Denis
>>
>> "Phillip Windell" wrote:
>>
>> >
>> > "Denis Crotty" <(E-Mail Removed)> wrote in message
>> > news:E13FEC38-BE1C-4E9F-A151-(E-Mail Removed)...
>> > > You have it right. We are able to create an always up style

> connection
>> > once
>> > > someone logs in and it starts up. The problem is that if the machine
>> > reboots
>> > > or we log out it loses the connection. So this has sparked the idea

> that
>> > it
>> > > would be ideal if it started as a service at bootup.
>> >
>> > I don't belive it is possible. It is the nature of that type of

> connection.
>> > It is tied to the user so if the user logs out it shuts down,...I don't
>> > think it can exist without the user being logged in.
>> >
>> > The Site-to-Site VPN is the one that actually behaves as you want. But

> it is
>> > not user initiated and the user is never even aware it exists or not.
>> >
>> > --
>> >
>> > Phillip Windell [MCP, MVP, CCNA]
>> > www.wandtv.com
>> >
>> >
>> >

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Post Office Broadband service up and running lbasn Broadband 7 10-20-2007 10:08 PM
Multiple subnets with one DC running DNS service zachms Windows Networking 1 07-18-2007 06:53 PM
Backing up/migrating DHCP while service is running =?Utf-8?B?Sk1T?= Windows Networking 1 04-20-2005 10:55 AM
xinted service starting automatically if not running jacek Linux Networking 5 07-10-2004 09:13 PM
Anyone running a webserver over a satelline BB service? Peter Broadband 19 01-17-2004 08:06 PM



1 2 3 4 5 6 7 8 9 10 11