Skip to content

Fast multiple configurations switch (enable/disable) for PiVPN and 3X-UI using Ansible

License

Notifications You must be signed in to change notification settings

exmanka/ksiVPN-ansible-pivpn-3xui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

license part-of-ksivpn

Ansible for switching PiVPN and 3X-UI configurations

Fast multiple configurations switching (enable/disable) for PiVPN and 3X-UI.

Prerequisites

You should have at least one server with allowed SSH connection with installed pivpn or 3x-ui panels.

Usage

  1. Install Ansible according to the official instructions.

  2. Install git according to the official instructions.

  3. Download the repository to your computer: git clone https://github.com/exmanka/ksiVPN-ansible-pivpn-3xui.git

  4. Move to project directory: cd ksiVPN-ansible-pivpn-3xui

  5. Add your servers to file hosts according to template in file.

  6. Run playbook for pivpn on servers (3x-ui will be added later): ansible-playbook pivpn-switch.yml -e "client=<client> state=<state>"

  7. Replace:
    <client> — unique set of characters for desired group of configurations.
    For example, you want to turn on/off only pc_KSIVA and sp_KSIVA configurations of many avaiable: pc_Masheb4ka, sp_Egor, test, pc_KSIVA, sp_KSIVA. You can pass KSIVA or ksi.

    <state>-on to enable desired group of configurations, -off to disable desired group of configurations.

About ksiVPN project

🔥 ksiVPN — an open source student project that has become something more not only for its creator, but also for most customers .Thanks to hard work, the use of basic modern protocols and competent server rental, the project is able to provide the highest quality VPN connection for the minimum cost.

ksiVPN uses the following open-source solutions:

About

Fast multiple configurations switch (enable/disable) for PiVPN and 3X-UI using Ansible

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published