[PAID] OpenVPN: Connect with VPN server using .ovpn files ($15 or INR 1001)

OpenVPNExtension

Using this extension you'll be able to connect to VPN Servers with .ovpn files. OpenVPN is a robust and flexible solution for establishing secure connections over the internet, whether it's for remote access, site-to-site networking, or safeguarding online privacy. OpenVPN creates a secure tunnel between devices over the internet, encrypting all data that passes through it. This encryption ensures that even if data is intercepted, it remains unreadable to unauthorized parties, providing a significant layer of protection for sensitive information.

1. Overview

LatestVersion: 1
Released: 2024-04-24T18:30:00Z
Last Updated: 2024-04-24T18:30:00Z
Min SDK: 21
Permissions: ACCESS_NETWORK_STATE , FOREGROUND_SERVICE (only for Android 9 and above), POST_NOTIFICATIONS (only for Android 13 and above)

Aix Size: 310 Kb

Key Features:

  • Connect to VPN with customisable settings
  • Check VPN status (even across app startups)
  • Get notified about VPN status changes
  • Pause, Resume and Disconnect from Vpn notification
  • Allow apps to bypass vpn by package name
  • Read logs in realtime

2. Blocks


3. Documentation

Events

GotLogs Event raised after collecting all logs of current session
logs | text
VpnPermissionGranted Event raised when VPN permission is granted. Vpn can be started only in this case.
VpnPermissionDenied Event raised when VPN permission is denied
ErrorOccurred Event raised when error occurs. It is not guaranteed that all errors will be reported via this event. However, all of them will be reported to logs.
errorMsg | text
StateChanged Event raised when VPN connection state changes
state | text

Methods

VpnState Return VPN connection state
ClearLogs Clear logs of current session
GetLogs Read logs from the log file
AskServicePermission Ask for service permissions required to start VPN
IsVpnPrepared Returns whether VPN Service has been already prepared or not. If returns false then you'll have to ask Service Permission first.
StartVPN Start VPN service with provided configFile and other credentials
title | text
configFile | text
country | text
username | text
password | text
StopVPN Stop VPN Service
GetAllowedAppsList Returns Allowed Apps list
AddAllowedApp Adds specified app to Allowed Apps List. Apps in this list bypass VPN.
pkgName | text
RemoveAllowedApp Removes specified app from Allowed Apps list
pkgName | text

Properties

3. Example Usage

Ask for required permissions on Screen Initialize

Check VPN permission
image

IsVpnPrepared will return true if vpn permission has been granted otherwise false.
AskServicePermission block will show this permission dialog:

StartVPN

Listen to State Changes

state : WAIT , CONNECTING , GET_CONFIG , RESOLVE, AUTH , AUTH_PENDING , AUTH_FAILED , CONNECTED , DISCONNECTED , NOPROCESS

Note: noprocess means vpn has not been started and disconnected means vpn was started before and has been diconnected.

Stop Vpn
image

You can stop vpn from notification as well.

5. Demo Video

6. Inject Native library

You’ll get these two folders with aix:

Then decompile apk and copy these two folders to decompile directory.
Intructions for decompiling apk:
Add native libs to apk

A simple app after injection becomes ~10mb

How to Sign Apk by @Anke
How to build a big app → APK max. 100 MB or → AAB 150 MB

7. Purchase Extension

Thank you.
Hope it helps!

7 Likes

Nice :+1: Pls add damo apk

1 Like

I do not provide demo apk.

Pls give us demo apk to verify

very similar to Shrey extension. OpenVPN files from which site? vpnbook? getvpn?

You just need ovpn files and then check compatibility with this extension. Doesn’t matter from where you get config files.

1 Like

if it really doesn’t matter where the openvpn file is from, then that’s cool! but i doubt that any openvpn file will work… if this extension really supports any openvpn file i would buy the extension

Yeah, for sure not all config files will work. If you can give me some sample config files, I can check them for you.

do openvpn files work with! VPN Gate - Public Free VPN Cloud by Univ of Tsukuba, Japan?

one more question. on how many devices did you test the app? does the vpn connection disconnect after a certain time?

I’ll check that.

1 real device (Android 13/14) and 3 emulators (Android 6/7/9/11/12)

No, I checked for 10 mins though.

1 Like