Most of our features and services are available only to members, so we encourage you to login or register a new account. Registration is free, fast and simple. You only need to provide a valid email. Being a member you'll gain access to all member forums and features, post a message to ask question or provide answer, and share or find resources related to mobile phones, tablets, computers, game consoles, and multimedia.
All that and more, so what are you waiting for, click the register button and join us now! Ito ang website na ginawa ng pinoy para sa pinoy!
Try ko magpost ng tutorial ko on how to make a complete OpenVPN GUI alternative kagaya ng EasyConnect ko. Wala lang ako masyadong time.
Ah, beginner po kayo sa VB6?
Cge po, try ko ipost dito yung modification ko nyan.
ayos!! eto ang hinahanap ko.. ayos talaga... salamat dito... ngaun may mapagaaralan na ko..
tanong lang po.. kung sa vb 2010, ok lang naman db? parehas lang kaya ang mga syntax?
Look at my EasyConnect, VB6 lang din po yan, ganyan po ba?
Bale, kinailangan ko po dyan ng ComboBox control at File control, less coding kung gagamit po kayo ng File control.
I-filter nyo po ang path sa app.path+(config files location) at file filter sa *.ovpn.
Sa Form_Load event po nakalagay lahat yan.
Yung about sa Reconnect button, taskkill po gamit ko to terminate the openvpn process then call nyo lang ulit yung connect button click event.
Sa disconnect, taskkill din po, kailangan po kasi iterminate ang openvpn.exe process para magdisconnect.
EDIT:
About naman po sa data transfer graph, try this data graph sample control:
pde rin naman ganito
Code:Shell App.Path & "\openvpn --option value", vbHide
example:
Code:Shell App.Path & "\openvpn --remote ip --port port", vbHide
bale nka embed na rin sa program ang config nya....
nice po sir keep on sharing
good for tsunami meron clang crew na d takot magshare..... astigen
sir share nyo nmn po ung project files nung easy connect or ung modified openvpn pra mafamiliarize po kami kung saan ilalagay ang code at kung anu button ang ilallagay.... tnx in advance sir![]()
hindi ko po magawa ito.. ayaw gumana sakin![]()
client
dev tap
#dev-node MyTAP #If you renamed your TAP interface or have more than one TAP interface then remove the # at the beginning and change "MyTAP" to its name
proto udp
remote YOURHOST.dyndns.org 1194 #You will need to enter you dyndns account or static IP address here. The number following it is the port you set in the server's config
resolv-retry infinite
nobind
persist-key
persist-tun
ca "ca.crt"
cert "client2.crt" # Change the next two lines to match the files in the keys directory. This should be be different for each client.
ns-cert-type server
cipher BF-CBC # Blowfish (default) encrytion
comp-lzo
verb 1
Private Sub Connect_Click()
Shell App.Path + "\openvpn.exe --config " + App.Path + "(location of config files)\Sample.ovpn --port (PORT NUMBER)"
End Sub
hindi ko po magawa ito.. ayaw gumana sakin![]()
--auth-user-pass dir\account.txt
--port 9200 kung smart ang modem
--port 53 kung globe ang modem
EDIT:
Mas maganda nyan, wag nyo muna i-embed ang mga options ng openvpn, magrely lang po muna kayo sa mga nakalagay sa ovpn files, bale ganito ang example ko:\
SAMPLE.OVPN
Code:client dev tap #dev-node MyTAP #If you renamed your TAP interface or have more than one TAP interface then remove the # at the beginning and change "MyTAP" to its name proto udp remote YOURHOST.dyndns.org 1194 #You will need to enter you dyndns account or static IP address here. The number following it is the port you set in the server's config resolv-retry infinite nobind persist-key persist-tun ca "ca.crt" cert "client2.crt" # Change the next two lines to match the files in the keys directory. This should be be different for each client. ns-cert-type server cipher BF-CBC # Blowfish (default) encrytion comp-lzo verb 1
Event code:
Code:Private Sub Connect_Click() Shell App.Path + "\openvpn.exe --config " + App.Path + "(location of config files)\Sample.ovpn --port (PORT NUMBER)" End Sub
mali po cguro directory mu poh... for example kng nka separate ang account.txt add this:
Code:--auth-user-pass dir\account.txt
dir = name ng folder
mali po cguro directory mu poh... for example kng nka separate ang account.txt add this:
Code:--auth-user-pass dir\account.txt
dir = name ng folder