473,545 Members | 2,388 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 8318
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,RnaDi al 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.e xe rnaui.dll,RnaDi al MyConnection" or provide a reference for
more info?

Thanks!

Neil
"Trevor Best" <nospam@localho st> wrote in message
news:40******** *************** @auth.uk.news.e asynet.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,RnaDi al 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@localho st> wrote in
news:40******** *************** @auth.uk.news.e asynet.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,RnaDi al 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.e xe rnaui.dll,RnaDi al 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 "MyConnecti on" 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@localho st> wrote in message
news:40******** **************@ auth.uk.news.ea synet.net...
Neil Ginsberg wrote:
They are using the Windows VPN. Can you elaborate a bit more on the command "rundll32.e xe rnaui.dll,RnaDi al 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 "MyConnecti on" 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@localho st> wrote in message
news:40******** **************@ auth.uk.news.ea synet.net...
Neil Ginsberg wrote:
They are using the Windows VPN. Can you elaborate a bit more on the command "rundll32.e xe rnaui.dll,RnaDi al 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 "MyConnecti on" 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 ReinitializeCri ticalSection could not be
located in the dynamic link library KERNEL32.dll." Any ideas?

Thanks!

Neil
"Trevor Best" <nospam@localho st> wrote in message
news:40******** **************@ auth.uk.news.ea synet.net...
Neil Ginsberg wrote:
They are using the Windows VPN. Can you elaborate a bit more on the command "rundll32.e xe rnaui.dll,RnaDi al 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 "MyConnecti on" 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 ReinitializeCri ticalSection 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
2511
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 to the browser while the base href is still set to my site. The problem I was having with the server-side WebRequest is that the relative links of...
4
7798
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 ends the session, without a proper logout. The user can't see that he is logged out, hits a button and gets mutiple errors because MySQL is no...
1
740
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 problem, but am looking for a way to have it run automatically with out having to tell a hundred users what the username password combination is. Is...
1
2162
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 large number without prevail. I used InternetOpenURL in the past (VB6) without incident. Can anyone help? Public Function GetPage(ByVal...
3
2336
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 internet connection on all as well as file sharing. Took me only about 3 weeks of intensive research and troubleshooting to get it all going! ;-) The...
10
2558
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 I've added these values for my HADR pair, but I'm not sure I'm testing the basic functionality correctly. I connect to the primary, then issue a...
2
6069
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 database is "Computer2", and the full path to needed database is "\\Computer2\AppFolder\mydata.mdb". The user can access that folder when it...
2
3325
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 connection string, or by setting the default language in for the user used for the connection.) The casting from string to datetime uses the...
0
1461
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 to do is make an automatic filtering and labeling method for my table. The reason for this is because I m handling more than 500 records and labeling...
0
7487
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7420
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7680
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
6003
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5349
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
4966
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3476
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3459
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
731
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.