|
@@ -8,7 +8,7 @@ import base64
|
|
|
serversnum = 30
|
|
|
profiles = []
|
|
|
choice = -1
|
|
|
-mirrorlist = [ "https://www.vpngate.net", "http://5.181.235.14:29916", "http://88.218.17.24:20261", "http://138.199.46.86:36667", "http://109.111.243.206:17579", "http://78.142.193.246:33304", "http://163.182.174.159:18358", "http://91.193.75.5:45082"]
|
|
|
+mirrorlist = [ "https://www.vpngate.net", "http://5.181.235.14:29916", "http://88.218.17.24:20261", "http://138.199.46.86:36667", "http://109.111.243.206:17579", "http://78.142.193.246:33304", "http://163.182.174.159:18358", "http://91.193.75.5:45082", "http://103.201.129.226:14684", "http://146.70.205.2:6283", "http://146.70.205.6:34299", "http://62.133.35.246:2265" ]
|
|
|
reqpart = "/api/iphone/"
|
|
|
# listurl = "http://www.vpngate.net/api/iphone/"
|
|
|
ovpnpath = "/tmp/profile.ovpn"
|
|
@@ -47,6 +47,7 @@ with open(ovpnpath, 'w') as f:
|
|
|
f.write( "script-security 2\n" )
|
|
|
f.write( "up \"" + scriptdir + "/up.sh\"\n" )
|
|
|
f.write( "down \"" + scriptdir + "/down.sh\"\n" )
|
|
|
+ f.write( "data-ciphers 'AES-128-CBC:AES-256-GCM:AES-128-GCM:CHACHA20-POLY1305'\n" )
|
|
|
|
|
|
# os.system( "sudo openvpn " + runopts + "--config" + ovpnpath )
|
|
|
os.system( "sudo openvpn " + ovpnpath )
|