maxisoft / rasdial

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#Rasdial

Library to manipulate windows VPN connections with Python programming language.
Behind the hood, this library use the rasdial command to perform desired actions.

This library allow to programmatically :
* (re)connect to a vpn
* disconnect a vpn connection
* get the current connected vpn connection's name

##example

import rasdial

rasdial.get_current_vpn()  # return the current vpn name as string
rasdial.connect('MyVpnConnection', 'user', 'password')  # connect to a vpn
rasdial.disconnect('MyVpnConnection')  # close a vpn connection

About

License:Do What The F*ck You Want To Public License


Languages

Language:Python 100.0%