longzuyuan / ics-openvpn

Automatically exported from code.google.com/p/ics-openvpn
0 stars 0 forks source link

can u add a function to read Account and Password from Configfile? #98

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
can u add a function to read Account and Password from Configfile?(ex:login.txt

Original issue reported on code.google.com by hzx...@gmail.com on 17 Oct 2012 at 1:35

GoogleCodeExporter commented 9 years ago
The account and password should already be read from the configfile. If it does 
not work for you, can you provide your configfile? (Remove secret information 
from it)

Original comment by arne@rfc2549.org on 17 Oct 2012 at 1:42

GoogleCodeExporter commented 9 years ago
this is my configile.

client
dev tun
proto tcp
remote xxx.xxx.xxx 110
auth-user-pass pass.txt
resolv-retry infinite
nobind
reneg-sec 0
route-method exe
route-delay 2

persist-key
persist-tun
hand-window 120
mssfix

ns-cert-type server
ca ca.crt
verb 3
comp-lzo no

thanks for your help.

Original comment by hzx...@gmail.com on 17 Oct 2012 at 1:48

GoogleCodeExporter commented 9 years ago
I just looked into importing the config. I put your config on my sdcard and a 
pass.txt with user and password in it. 

The config importer has a bug that it mixes up profilename and username but 
other than that it works. The password should be imported correctly.

Original comment by arne@rfc2549.org on 17 Oct 2012 at 6:56

GoogleCodeExporter commented 9 years ago
This issue was closed by revision dd6f83f42c78.

Original comment by arne@rfc2549.org on 17 Oct 2012 at 6:57