Symbianize Forum

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!

[Simple]Tut how to make VPN GUI [VB 6 + OPENVPN Commands] ]

Status
Not open for further replies.
bakit kaya walang nag uupdate dito T_T walang ibang interesado? sayang naman natatabunan lang..
 
Try ko magpost ng tutorial ko on how to make a complete OpenVPN GUI alternative kagaya ng EasyConnect ko. Wala lang ako masyadong time.
 
Try ko magpost ng tutorial ko on how to make a complete OpenVPN GUI alternative kagaya ng EasyConnect ko. Wala lang ako masyadong time.

hindi ko po alam kung paano gamitin yung post nyong graph:pray:
 
Ah, beginner po kayo sa VB6?

Cge po, try ko ipost dito yung modification ko nyan.
 
Ah, beginner po kayo sa VB6?

Cge po, try ko ipost dito yung modification ko nyan.

yap as in super beginner po ako... kahapon lang ako nagbasa basa nung makita ko ito... then nag tatanong sa mga friend ko na programmer...

madali naman po akong matuto kasi techie naman po ako :)
:pray:

baka pwedeng pahingi ng sourcecode nyo dyan sa easyconnect nyo sir.. pag aaralan ko lang po...
 
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?
 
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?

May mga difference po. For example, yun process enumerating ay may control na sa .NET samantalang sa VB6, mahabang coding ang process enumeration functions.
 
sir pwd ba ako makagawa ng sariling openvpn.. hehehe. pangarap ko kasi eh.. hindi ako marunung paano gawin iyon eh... tnx sa sharing sana marami p ako matutunan.. pero hindi ko ma getz mga technical term newbiez kasi ako eh.
 
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:

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:yipee:
 
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....


hindi ko po magawa ito.. ayaw gumana sakin :pray::help:
 
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:yipee:

Balak ko talag ishare ang codes, pero hindi yung EasyConnect mismo, katulad lang. Magulo at mahaba coding ko sa EasyConnect,eh :lmao:

Kagay ng karamihan dito, 5 years ago, self-study rin kasi ako kaya di masyado organized coding ko.

Ang isi-share ko, yung madaling maintindihan ng mga newbies sa VB6 muna then VB .net.

Gagawa po ako ng thread para dyan. Abang abang lang po. :salute:
 
hindi ko po magawa ito.. ayaw gumana sakin :pray::help:

--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
 
Last edited:
hindi ko po magawa ito.. ayaw gumana sakin :pray::help:

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
 
--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

alam ko na po kasi yung hindi nakaembed :)
 
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

ahahaha salamat :) yun pala :) gawin ko now :)
 
Options error: Unrecognized option or missing parameter(s) in [CMD-LINE]:1: persist-Key (2.1.3)
Use --help for more information.

bakit po kaya may error ako na ganyan? T_T
 
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

Private Sub Connect_Click()
Dim test As String
test = "openvpn --config test.ovpn --remote 184.x.x.x--port 9200 --ca ca\ca.crt >log.txt"
Shell "cmd /c" & test, vbHide
End Sub

salamat sir nagawa ko na yung pag embed :clap:

salamat sir nagawa ko na :) nakahiwalay yung ip at port para sa config nya wala ng makita :)
 
hak hak hak.. sawakas may nag post para matigil na ang nag pepeem sakin..
 
:clap: bravo! ang galing bro! yang mga tulad mo ang dugong dumadaloy at bumubuhay sa symbianize... walang halong pananamantala o ano mang kapalit na hinihingi sa kaalamang inihahandog sa kapwa symbianizer.. kokonti nalang ang ganyan dahil nagiging buy and sell section na tong web n internet....sana yung tulad mo ang tularan ng karamihan, hindi yung mga negosyante sa labas ng buy n sell section ng site na to
 
Status
Not open for further replies.
Back
Top Bottom