views:

78

answers:

0

It is easy to programmatically use http or socks proxies from python in combination with urllib2, without changing system settings, but having looked at both the standard libraries and having searched on google I cannot see a straight forward way to do something similar with a vpn. I cannot change system settings but I could use any external application (openvpn perhaps?) if needs be. Anyone have some advice? Or is this not possible?