Skip to content

SkyN9ne/PyRasDialer

 
 

Repository files navigation

pyrasdialer


A simple wrapper around Windows rasdial.exe program to help manage a VPN connection


Details

pyrasdialer can be used to establish your VPN connection then monitor that connection (reconnecting if dropped) and disconnect after a specified period of time

Requirements

If running directly with python:

If running Windows standalone (pyinstaller) version:

Configuration

Read the pyrasdialer.ini for details on how to configure pyrasdialer. At a minimum you will need to set the following values:

  • vpn_connection_name - with the name of your VPN connection
  • server_list - with VPN server (or servers) you wish to use
  • username and password - with the VPN username and password

pyrasdialer also requires access to your RAS phonebook file. It will make a copy of the relevant VPN details into a temporary phonebook file and use that temporary phonebook when calling rasdial.exe

Usage

usage: pyrasdialer [-h] [-v] [-c CONFIGFILE]

A wrapper around rasdial.exe to randomize server, connect, and monitor a VPN connection

optional arguments:
-h, --help              show this help message and exit
-v, --version           show program's version number and exit
-c CONFIGFILE, -config CONFIGFILE
                        path to configuration file to use (default = ./pyrasdialer.ini)

About

A simple Python wrapper around the Windows built-in "RasDial.exe" program to help manage a VPN connection

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 76.3%
  • Inno Setup 21.9%
  • Batchfile 1.8%