What's new

Tutorial OpenVPN over stunnel with Web Interface in B315

Status
Not open for further replies.
Update: 03/07/2019 09:30 AM
+ Changes +
  • Add DNS to your wifi. (Para sa connected ang status pero no browse.)
Update: 03/07/2019 05:00 AM
+ Changes +
  • Todays birthday!
  • Added stop button.
Update: 03/06/2019 10:00 PM
+ Changes +
  • Change $1 in /online/openvpn/cgi-bin/ovpnrestart.cgi to path.
Update: 03/06/2019 09:00 PM
+ Changes +
  • Fix stop loading in logs.
  • Fix stop loading in status.
  • Fix restart openvpn commands.
KAPAG HINDI OPEN ANG TELNET AT ADB NG INYONG DEVICE PALITAN NYO LANG NG FIRMWARE
https://phcorner.net/threads/691052/

NOTE: ANG TUTORIAL NA ITO AY NASA README.txt AT KUNG MERON CHANGES BASAHIN NYO MAIIGI README.TXT KASI NANDUN BAGONG FEATURES.

DOWNLOAD LINK: You do not have permission to view the full content of this post. Log in or register now.

OPENVPN WEB INTERFACE IS CREATED BY JEROME LALIAG (c)

KUNG MAY NAKITA KAYONG BUGS SA WEBUI. PM NYO LANG AKO SA FACEBOOK. PARA MAFIX KO.
You do not have permission to view the full content of this post. Log in or register now.

PWEDE NYO SYA ISHARE SA IBA, JUST PUT CREDITS LANG PARA NAMAN DI NAMAN NAKAKAHIYA SA AKIN.

Installing tutorial
  1. Connect your computer to your modem via Wi-Fi or Lan Cable.
  2. Download openvpn.zip then extact it to your desktop.
  3. Open openvpn folder in your desktop.
  4. Open install_openvpn to install. (Note: Kapag nag reboot ang modem, na install na sya.)
  5. Kapag nabuhay na ang modem, connect nyo ulit ang computer nyo sa modem via Wi-Fi or Lan Cable.
  6. Buksan ang url na You do not have permission to view the full content of this post. Log in or register now.
B315 Led Color Coding of OpenVPN
Red - means openvpn is disconnected, automatically reconnect to your uploaded configuration. (Note: Always check logs)
Green - means openvpn is connected, your ip has change to your uploaded configuration.

OpenVPN Web Interface
Web Interface: You do not have permission to view the full content of this post. Log in or register now.

Note: Kapag ang end ng logs ay Initialization Sequence Completed, connected na kayo. Kahit hindi nyo na hintayin mag connected sa status, may interval kasi yan kaya delay mag output ng status.
Status: (None, Connecting, Reconnecting and Connected)
None - means openvpn is not running.
Connecting - means openvpn is running, but connecting in your uploaded configuration.
Reconnecting - means openvpn is disconnected, but trying to reconnect in your uploaded configuration.
Connected - means openvpn is connected, your ip has change to your uploaded configuration.

[ OVPN Config Uploader ]
Select your .ovpn file and click upload.

If your configuration has auth-user-pass or password authentication, edit your config file and change your auth-user-pass line to auth-user-pass /online/pass.txt and upload your password file.
Format Example for password authentication:
****
****

auth-user-pass /online/pass.txt
*
**


* Payload Option in Config File
1. Edit "remote" in your config.
Example line of remote without changes: remote 127.0.0.1 443
And change it to: remote<space>vpsip:eek:vpnport@workingpayload<space>ovpnport
Exaple line of changes: remote 127.0.0.1:443@www.google.com 443

2, Add http-proxy in your config file to get a payload response.
Example line of http-proxy: http-proxy 127.0.0.1 3128

Example of config file:
client
dev tun
proto tcp-client
remote 127.0.0.1:443@www.google.com 443 tcp-client
port 443
nobind
persist-key
persist-tun
tls-client
remote-cert-tls server
verb 4
mute 10
cipher none
auth none
auth-nocache
redirect-gateway def1
http-proxy 127.0.0.1 8080
dhcp-option DNS 8.8.8.8
dhcp-option DNS 8.8.4.4
auth-user-pass /online/pass.txt
<ca>
-----BEGIN CERTIFICATE-----
-----END CERTIFICATE-----

</ca>
<key>
-----BEGIN RSA PRIVATE KEY-----
-----END RSA PRIVATE KEY-----

</key>
<cert>
-----BEGIN CERTIFICATE-----
-----END CERTIFICATE-----

</cert>

[ Password Uploader (Optional) ]
Select your .txt pass file and click upload. (Note: 2 lines only, 1 line for username and second line is the password.)
Format Example for password file:
FirstLineUsername
SecondLinePassword

[ OpenVPN Option ]
* Start OpenVPN - means openvpn client is running and connecting in your uploaded configuration.
Errors: (Already running. and Please upload OVPN Config first.)
Already running. - means openvpn client is already running.
Please upload OVPN Config first. - means you need to upload ovpn config file before clicking Start OpenVPN.

* Restart OpenVPN - means openvpn client will terminate in process and run again.
Errors: (OpenVPN restarted. and OpenVPN is not running.)
OpenVPN restarted. - means openvpn client will terminate in process and run again.
OpenVPN is not running. - means no running openvpn client.

[ OpenVPN Startup Option ]
* Add OpenVPN on Startup - means run openvpn on boot or startup to reduce the work of starting openvpn.
Errors: (Success. and Already on startup.)
Success. - means openvpn will run on boot or startup.
Already on startup. - means openvpn already installed on startup or on boot.

* Remove OpenVPN on Startup - means remove openvpn on boot or startup.
Errors: (Success. and No OpenVPN on startup.)
Success. - means openvpn remove on startup or on boot.
No OpenVPN on startup. - means openvpn not on startup or on boot.

[ OpenVPN Logs ]
Text Area in the bottom of the page - this is the output of openvpn logs.

Ganito itsura ng Web Interface

567580


Ganito ilaw kapag connected na sya. Kulay green.
567584


FEEDBACK NA WORKING SYA








SA MGA MAG FEFEEDBACK NA CONNECTED USING OPENVPN WEB INTERFACE PASCREENSHOT NA CONNECTED NA SYA AT PAPOST DITO PARA MAY PROOF AKO NA WORKING, SALAMAT!
Happiest birthday TS. Salamat sa pabirthday mo samin. :)
 
ok to pero medyo risk lang kasi open ng port 8080 sa web, pwede sya makalikot ng kahit sinong connected sa wifi mo. mas ok sana ts kung asa loob ng original gui ng modem para yong makaka login lang sa modem ang pwede mag operate ng settings
 
Status
Not open for further replies.

Users search this thread by keywords

  1. stunnel.conf
  2. how to install openvpn in wifi
  3. openvpn over stunnel
  4. stc b310s-927
Back
Top