VPN in Python - which library? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 17

VPN in Python - which library?

So I've been trying to experiment a bit with Virtual Private Networks in Python. I have to settle a few things in my network provider configuration first, but has anyone done anything with Python within VPN field? Can you recommend (or advise against) a nice and easy library for that?

12th Sep 2017, 6:47 PM
Kuba Siekierzyński
Kuba Siekierzyński - avatar
8 Answers
+ 5
Thanks, I'll dig into it.
13th Sep 2017, 2:25 PM
Kuba Siekierzyński
Kuba Siekierzyński - avatar
+ 4
you have to Know About Nodes before creating a VPN, The socket module and Urllib modules should help
12th Sep 2017, 7:55 PM
Joel Roy
Joel Roy - avatar
+ 4
Hi Kuba. I have not used Python to VPN, but if you figure it out, please share.
13th Sep 2017, 6:56 PM
Louis
Louis - avatar
+ 1
i do not no much about http and VPN, but instead of urllib, the httplib2 is recommended quite often.
13th Sep 2017, 5:59 PM
yuri
+ 1
According to the way I see things, proxies are better
9th Nov 2021, 11:13 PM
KINENE IBRAHIM
KINENE IBRAHIM - avatar
0
pipy in your help
13th Sep 2017, 5:10 PM
Game Developer
Game Developer - avatar
0
network
14th Sep 2017, 12:20 AM
guy deborde
guy deborde - avatar
0
@Kuba Siekierzyński Openpyn is a Python script which manage OpenVPN connections. https://pypi.org/project/openpyn/ and https://pypi.org/project/pvpn/ If you need more info you can check out the Pypi official website or go directly to the link provided. For now I haven't seen a python library for VPNs but, keep your head up for Pypi in case a new library is distributed. Hope it helps.
6th Mar 2022, 5:02 PM
Fredkishala
Fredkishala - avatar