Aman VPN
  • 1️⃣Introduction
    • Introduction to Aman VPN
    • Project Structure & Features
  • 2️⃣Installation
    • Introduction to Flutter
    • Tools & Setup
    • Android Studio – Windows​
    • Android Studio – macOS​​
    • Android Studio – Linux​​
  • 3️⃣GETTING STARTED (BUILD & RUN)
    • Build & Run
  • 4️⃣CONFIGURATION & CUSTOMIZATION
    • Changing Servers
    • Android Configuration
    • Firebase Configuration
    • Flutter Configuration
  • 5️⃣HELP & SUPPORT
    • Support
Powered by GitBook
On this page
  1. CONFIGURATION & CUSTOMIZATION

Changing Servers

You should read this carefully

you'll need to make a folder in your server like https://dokkan.xyz/amanvpn.

In this folder, you must have a json file with ovpn configuration like this : {

"domain": "https://dokkan.xyz/amanvpn/", "cites": [

{ "name": "japan",

"flag": "japan.png",

"description": "wwwwwwwwwwwwwwwwwwwww",

"opvnfile": "Japan.txt",

"quality": "form 1 to 5",

"user": "openvpn",

"pass": "KYlgTgpekIyq"

},

{

"name": "japan",

"flag": "japan.png",

"description": "asoasdkm", "opvnfile": "filejapan.opvn",

"quality": "form 1 to 5",

"user": "user",

"pass": "pass"

},

{

"name": "japan",

"flag": "japan.png",

"description": "asoasdkm",

"opvnfile": "filejapan.opvn",

"quality": "form 1 to 5",

"user": "user",

"pass": "pass"

},

{

"name": "japan",

"flag": "japan.png",

"description": "asoasdkm",

"opvnfile": "filejapan.opvn", "quality": "form 1 to 5",

"user": "user",

"pass": "pass" }, {

"name": "japan",

"flag": "japan.png",

"description": "asoasdkm",

"opvnfile": "filejapan.opvn",

"quality": "form 1 to 5",

"user": "user",

"pass": "pass"

}

]

}

  • Domain is the folder PATH that you've created on your own server.

  • Cities that you've added to your json file with parameters of name, flag, description, opvnfile, quality, user and pass.

  • opvnfile is the file that have ovpn configuration of a specific city, and it must be stored in the same directory with json file, in our case here https://dokkan.xyz/amanvpn .

  • flag also stored in same directory.

  • Flutter code read all these data throw file stored in assets folder named url.txt that have the url of the json file in our case https://dokkan.xyz/amanvpn/amanvpn.json .

PreviousBuild & RunNextAndroid Configuration

Last updated 2 years ago

4️⃣