[python-win32] Win32 PPP connections

pythonwin pythonwin at evpopov.com
Mon Oct 13 09:54:56 EDT 2003


> We have a 3rd party application that requires a
> Windows PPP connection to a private network.  I'd
> like to automate this task with a python script.
> Any clues where I should look to startup, then
> tear down a PPP connection on Windows (NT/2000)?

You can try to execute rasdial.exe with proper parameters to start / stop a VPN 
connection (I think rasdial is shipped with NT/2000: try rasdial.exe in a DOS 
box to check).
I had to do that in the past and it did the job (at least for me).



More information about the Python-win32 mailing list