Questions tagged [ras]

Remote Access Service.

Remote Access Service.
A Microsoft API that makes it possible to create applications to administer the routing and remote access service capabilities of the operating system, to function as a network router.
The RRAS server functionality follows and builds upon the Remote Access Service in Windows NT 4.0.
Developers can use RAS and RRAS to implement routing protocols.

69 questions
0
votes
1 answer

Multiple VPN connections behind NAT

I have the following problem: I have Windows 2003 RAS VPN server configured with a single Nic (let's call it LAN1) behind a firewall (lets call it's public address WAN1). PPTP & L2TP ports are forwarded to the Server. When a client (Windows or…
0
votes
1 answer

RAS event capturing

Is there a way to capture RAS events such as connection and disconnection. I need to do it on my application but it does not control the dialing process or disconnection, that's why "capture" part. My goal is to receive notification of when a…
Carlos Castellanos
  • 2,358
  • 4
  • 25
  • 43
0
votes
2 answers

How to disconnect from internet using C#?

I have a RAS connection and I need disconnect to it using C#. How I do this? Currently I'm using dotRas library to handling ras connections.
Jack
  • 16,276
  • 55
  • 159
  • 284
0
votes
1 answer

How to get the name of last network connection used?

I have a device (USB modem) that can install in the computer a lot of network connection, the user can change the network connection any moment and can be disconnected any moment. then I need get the last network connection used, it's possible? the…
Jack
  • 16,276
  • 55
  • 159
  • 284
0
votes
0 answers

error keystore.jks commend prompt keytool error: java.security.NoSuchAlgorithmException: RAS KeyPairGenerator not available

Hi I encountered this error when trying to configure the keystory file for the coin apk file in android studio by commend prompt C:\Users\deuts>keytool -genkey -alias key0 -v -keystore "C:\Users\deuts\Downloads\keystore.jks" -keyalg RAS -validity…
0
votes
1 answer

Windows XPe RAS error 756 "connection is being dialled"

I'm working with an embedded system which has a RAS entry already set up, using the API function RasDial from rasapi32.dll. All works well except if something goes wrong after RasDial and before RasHangUp. In this case any further attempt to dial…
Simon Elliott
  • 2,087
  • 4
  • 30
  • 39
0
votes
1 answer

Avoid prompting users to redial when PPTP connection has been disconnected

I am establishing PPTP connection to the remote server programmatically using RAS api in Windows. The problem is that when server disconnects (for example server stopped) windows automatically prompts user to redial (see screenshot), I don't want…
monkeber
  • 73
  • 2
  • 5
0
votes
1 answer

RASDIAL API not connecting on windows vista and windows 7 in release builds

I am trying to connect using RASDIAL API on windows vista and windows 7. I am able to easily do this on windows XP systems. I am not able to connect on windows vista and windows 7 only in release build. I am able to do this via the debug builds.…
barryjones
  • 2,149
  • 1
  • 17
  • 21
0
votes
0 answers

How do I obtain a PPP cookie for rasdial API?

The RASDIALEXTENSIONS structure defines: fSkipPppAuth Windows 7 or later: If this member is TRUE, then Point to Point Protocol (PPP) authentication is skipped and the value in RasDevSpecificInfo will be passed to the server for validation.…
GoldieLocks
  • 845
  • 7
  • 22
0
votes
1 answer

I want to connect a windows machine to a L2TP/ IPsec vpn using python

I have a soft-ether VPN server and I want to make a custom client application, which will look like other vpn clients (Nord,Hola vpns) in python. The problem is in python I cannot find a way to use windows built-in vpn manager to connect via …
Salman Arshad
  • 343
  • 6
  • 23
0
votes
1 answer

unresolved external symbol _RasSetEntryPropertiesW@24 referenced in function _wmain

I'm trying to test the function described here to get RAS Credentials assocciated with the .pbk file to retrieve the data like username, password and pre-shared key. The reason I am doing this is because I lost my pre-shared key and although I have…
user3362334
  • 1,980
  • 3
  • 26
  • 58
0
votes
2 answers

What does it indicate when RasGetConnectStatus returns a value of 6?

I'm trying to query the RasStatus of a connection. When I call the RasGetConnectStatus method, it returns 6. I've not found that particular return value in any of the documentation that I've read. Here are some of the pages that I've looked…
Richard C
  • 2,176
  • 5
  • 30
  • 40
0
votes
1 answer

Creating persistent RAS connection with opennetcf Ras in Windows CE 6.0

I'm in need to create an GPRS connection in an PDA that has windows ce 6. Now normally i would had to use the manufacturer's dll to create that, but they said that they use ras to accomplish this. The only problem of using that is that i program in…
Sorcerer86pt
  • 427
  • 9
  • 21
0
votes
7 answers

What is the best way to bulk copying SQL data over a dial-up connection?

I have a few remote SQL servers that I need to pull a large amount of data from regularly (say 5,000,000 rows per server). This data also needs to be formatted and FTPed to another server. The dial-up portion is fine, I can connect and communicate…
scottm
  • 27,829
  • 22
  • 107
  • 159
0
votes
1 answer

script file referenced in PBK file fails to connect and crashes settings

I have legacy code from Windows 95 that is still being worked on and sold. It creates RAS dial-up entries that reference a script (*.scp) file in the DEVICE=switch section of the PBK file. The entry is created using RASSetEntryPropertiesA() in…
Gregor Brandt
  • 7,659
  • 38
  • 59