аватар question@mail.ru · 01.01.1970 03:00

VPN server, create a VPN connection

How can you create a VPN server to which you can create a connection through a python?

аватар answer@mail.ru · 01.01.1970 03:00

Try through http.server :

   Import  http.Server  Import  urllibport =  9097    class   myProxy  (http.simplehttprequestHANDLER):   def   do_get  ( self ):  url = self.path [ 1 :]  self.send_response ( 200 )  self.end_heads ()   Self.copyfile (urllib.urlopen (url), self.wfile) httpd = sockketServer.ForkingtCPSERVER (( '' '' , portroxy)   Print  (,  str  

Latest

Similar