473,396 Members | 2,099 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Automatic VPN Connection

I have an MDB with links to SQL tables stored on a web site. The client is
changing his firewall such that a VPN connection will need to be established
to access the data. We have an automated process that runs at night. Is
there a way to automatically establish a VPN connection at the start of the
automated process?

Thanks,

Neil
Nov 13 '05 #1
8 8287
Neil Ginsberg wrote:
I have an MDB with links to SQL tables stored on a web site. The client is
changing his firewall such that a VPN connection will need to be established
to access the data. We have an automated process that runs at night. Is
there a way to automatically establish a VPN connection at the start of the
automated process?


It will depend on the VPN software used, I use a 3Com OfficeConnect
firewall at wortk and installed the WinXP VPN client at home, unless I
turn it off it's on all the time and doesn't interfere with my other net
connections unlike some VPNs I can think of.

If you're using the built in Windows VPN then it acts like a dialler,
you should be able to start it with a command, e.g.:

rundll32.exe rnaui.dll,RnaDial MyConnection

Other VPNs can go firewall to firewall, e.g. I have a client with a
Cisco router and my 3Com router connects us just fine. With the "always
on" solutions, IME you will have to ping a target machine for a bit to
wake it up as they tend to drop their connections.

--
Error reading sig - A)bort R)etry I)nfluence with large hammer
Nov 13 '05 #2
They are using the Windows VPN. Can you elaborate a bit more on the command
"rundll32.exe rnaui.dll,RnaDial MyConnection" or provide a reference for
more info?

Thanks!

Neil
"Trevor Best" <nospam@localhost> wrote in message
news:40***********************@auth.uk.news.easyne t.net...
Neil Ginsberg wrote:
I have an MDB with links to SQL tables stored on a web site. The client is changing his firewall such that a VPN connection will need to be established to access the data. We have an automated process that runs at night. Is
there a way to automatically establish a VPN connection at the start of the automated process?


It will depend on the VPN software used, I use a 3Com OfficeConnect
firewall at wortk and installed the WinXP VPN client at home, unless I
turn it off it's on all the time and doesn't interfere with my other net
connections unlike some VPNs I can think of.

If you're using the built in Windows VPN then it acts like a dialler,
you should be able to start it with a command, e.g.:

rundll32.exe rnaui.dll,RnaDial MyConnection

Other VPNs can go firewall to firewall, e.g. I have a client with a
Cisco router and my 3Com router connects us just fine. With the "always
on" solutions, IME you will have to ping a target machine for a bit to
wake it up as they tend to drop their connections.

--
Error reading sig - A)bort R)etry I)nfluence with large hammer

Nov 13 '05 #3
Trevor Best <nospam@localhost> wrote in
news:40***********************@auth.uk.news.easyne t.net:
If you're using the built in Windows VPN then it acts like a
dialler, you should be able to start it with a command, e.g.:

rundll32.exe rnaui.dll,RnaDial MyConnection


This is one of the few places in Windows where the last argument is
case sensitive. That is, if your VPN connectoid is named "Work VPN"
you can't call it as "work vpn".

(well, at least, it *used* to be that way)

--
David W. Fenton http://www.bway.net/~dfenton
dfenton at bway dot net http://www.bway.net/~dfassoc
Nov 13 '05 #4
Neil Ginsberg wrote:
They are using the Windows VPN. Can you elaborate a bit more on the command
"rundll32.exe rnaui.dll,RnaDial MyConnection" or provide a reference for
more info?


http://www.google.com/search?q=%22ru...utf-8&oe=utf-8

http://tinyurl.com/5pudn

Or just replace "MyConnection" with the name of your connection and type
it in at the command prompt.

--
Error reading sig - A)bort R)etry I)nfluence with large hammer
Nov 13 '05 #5
Thanks.

"Trevor Best" <nospam@localhost> wrote in message
news:40**********************@auth.uk.news.easynet .net...
Neil Ginsberg wrote:
They are using the Windows VPN. Can you elaborate a bit more on the command "rundll32.exe rnaui.dll,RnaDial MyConnection" or provide a reference for
more info?

http://www.google.com/search?q=%22ru...utf-8&oe=utf-8
http://tinyurl.com/5pudn

Or just replace "MyConnection" with the name of your connection and type
it in at the command prompt.

--
Error reading sig - A)bort R)etry I)nfluence with large hammer

Nov 13 '05 #6
I just found out that I don't have rnaui.dll on my PC (win xp home). Is this
something that comes with Windows, or is it a third-party utility?

Thanks,

Neil
"Trevor Best" <nospam@localhost> wrote in message
news:40**********************@auth.uk.news.easynet .net...
Neil Ginsberg wrote:
They are using the Windows VPN. Can you elaborate a bit more on the command "rundll32.exe rnaui.dll,RnaDial MyConnection" or provide a reference for
more info?

http://www.google.com/search?q=%22ru...utf-8&oe=utf-8
http://tinyurl.com/5pudn

Or just replace "MyConnection" with the name of your connection and type
it in at the command prompt.

--
Error reading sig - A)bort R)etry I)nfluence with large hammer

Nov 13 '05 #7
One other note: after downloading rnaui.dll from the internet, I get the
message: "The procedure entry point ReinitializeCriticalSection could not be
located in the dynamic link library KERNEL32.dll." Any ideas?

Thanks!

Neil
"Trevor Best" <nospam@localhost> wrote in message
news:40**********************@auth.uk.news.easynet .net...
Neil Ginsberg wrote:
They are using the Windows VPN. Can you elaborate a bit more on the command "rundll32.exe rnaui.dll,RnaDial MyConnection" or provide a reference for
more info?

http://www.google.com/search?q=%22ru...utf-8&oe=utf-8
http://tinyurl.com/5pudn

Or just replace "MyConnection" with the name of your connection and type
it in at the command prompt.

--
Error reading sig - A)bort R)etry I)nfluence with large hammer

Nov 13 '05 #8
Neil Ginsberg wrote:
One other note: after downloading rnaui.dll from the internet, I get the
message: "The procedure entry point ReinitializeCriticalSection could not be
located in the dynamic link library KERNEL32.dll." Any ideas?

Thanks!

Neil


Sorry I gave you a red herring before, I haven't done anything like that
since Win95, this document describes the differences and what to do in
NT based operating systems:

http://www.visualautomation.com/comp...6/dialup_t.htm

--
Error reading sig - A)bort R)etry I)nfluence with large hammer
Nov 13 '05 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Tim Wade | last post by:
Does anyone have any ideas on how to do an automatic html form post using hidden fields without introducing client-side script nor using a server-side WebRequest by passing the information back up...
4
by: Chris Stegeman | last post by:
Hello there, On my site people have to log in and automatically start a session. An authorized login grants access to other pages and MySQL data. However when the user waits to long, the server...
1
by: Paul | last post by:
I've searched w/o success for a Macro or Module that can be ran to automatically make an ODBC connection WITHOUT having to key in the ODBC password. I'm able to perfrom this manually without a...
1
by: Anthony C | last post by:
This doesn't happen on my development machine (code works perfectly) but on the client's machine, I get an error reported that "too many automatic redirections". I've tried setting the maximum to a...
3
by: thebluejay | last post by:
I'm running a desktop under Win2k sp4. With a Linksys router. I have wireless connectivity to another win2k desktop and a winXP laptop. TCP/IP with NetBIOS activated on all does the trick. I have...
10
by: hummingbirdlj | last post by:
I have a couple questions about setting up automatic client reroute. First, after setting the alternate server for a database, is there a way to verify the settings later on? The next thing is...
2
by: Andrius B. | last post by:
Hi. I am writing an app, whitch has to access a database, located on another computer (Intranet). Let's say, the computer where the app is to be installed, is "Computer1". The computer with the...
2
by: bryars | last post by:
I want to write some SQL which results in an automatic conversion of a datetime to a string in a format suitable for the Language of the connection (either by explicitly setting the Language in the...
0
by: cephal0n | last post by:
Hi All! I have two table tblHome1, contains all the unique PinNo and tblHome2 contains a duplicated PinNo and description. I put an automatic numbering (ProdID) and set it as my index. What I want...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.