Skip to content

A CLI for creating a configuration file for Amnezia, WireSock, WireGuard, and other clients with separate address tunneling. As well as a CLI for converting files with IP addresses to various formats.

Notifications You must be signed in to change notification settings

Friskes/vpn-configurator

Repository files navigation

vpn-configurator

A CLI for creating a configuration file for Amnezia, WireSock, WireGuard, and other clients with separate address tunneling. As well as a CLI for converting files with IP addresses to various formats.


CLI Features

    1. Converting a file with ip addresses from the amnezia format to the plaintext format and vice versa.
    1. Combine files in the same format with ip addresses into a single file.
    1. Creating a Amnezia, WireSock, WireGuard and other configuration file for separate tunneling for WireGuard protocol. Tunneling options:
    • 3.1. Proxying the specified ip addresses.
    • 3.2. Proxying all ip addresses.
    1. Creating a nekobox android configuration file for separate tunneling for vless protocol. Tunneling options:
    • 4.1. Proxy only ip addresses from the file with ip addresses, all other traffic is bypassed.
    • 4.2. Proxy all traffic, only ip addresses from the file with ip addresses are bypassed.

You can use my personal collections of files with the ip addresses that I have attached to the repository (youtube, chatgpt, jetbrains services) in folder ips or you can collect the ip addresses you need yourself using the links below.


Launch

  • To run the program on Windows or MacOS, you can use the latest file for you cpu architecture from releases

Use the terminal program to launch the file on MacOS not console program.

Before running on macOS, you may need to give permissions to run the file:

chmod +x vpn_configurator_vX.X.X
  • If you have a python interpreter on your system, you can use the source code file to run program: vpn_configurator.py

Before running the python script, you need to run several commands:

python3 -m venv venv
. venv/bin/activate
pip3 install -r requirements.txt
python vpn_configurator.py

Import in the amnezia desktop/android app

To import the generated configuration file:

    1. Click on the + icon in main page
    1. Select option The connection settings file
    1. Select your configuration file
    1. If the application suggests enabling obfuscation, I recommend enabling it
    1. Click Connect button
  • The profile is ready to use!

Import in the nekobox android app

To import the generated configuration file:

    1. Go to the Configuration page in the nekobox app
    1. Click on the file+ icon
    1. Click Import from file
    1. Select the generated file on your device.
  • The profile is ready to use!

About

A CLI for creating a configuration file for Amnezia, WireSock, WireGuard, and other clients with separate address tunneling. As well as a CLI for converting files with IP addresses to various formats.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages