https://github.com/pcade/wireguardautoconfinguration
This is python script for automate configuration wireguard conf
https://github.com/pcade/wireguardautoconfinguration
wireguard wireguard-cli wireguard-client wireguard-config-gen wireguard-vpn
Last synced: about 1 month ago
JSON representation
This is python script for automate configuration wireguard conf
- Host: GitHub
- URL: https://github.com/pcade/wireguardautoconfinguration
- Owner: pcade
- License: mit
- Created: 2024-12-19T09:48:20.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2025-03-17T15:21:36.000Z (2 months ago)
- Last Synced: 2025-04-08T23:44:52.957Z (about 1 month ago)
- Topics: wireguard, wireguard-cli, wireguard-client, wireguard-config-gen, wireguard-vpn
- Language: Python
- Homepage:
- Size: 66.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# WireguardAutoConfiguration
## Описание / Description
WireguardAutoConfiguration — это инструмент для автоматической настройки клиентской конфигурации [WireGuard VPN](https://www.wireguard.com/).
WireguardAutoConfiguration is a tool for automatically configuring the client configuration of WireGuard VPN.## Требования / Requirements
>Убедитесь, что у вас развернут сервер WireGuard. Для поднятия сервера вы можете воспользоваться статьей [LinuxBabe: Установка WireGuard VPN на Ubuntu](https://www.linuxbabe.com/ubuntu/wireguard-vpn-server-ubuntu).
>Make sure you have a WireGuard server set up. You can set up a server by following## Установка и использование / Installation and Usage
### Установка / Installation
*Для успешной работы необходимо выполнить следующие шаги / To ensure successful operation, please follow these steps:*1. Создайте файл секретов `.env` в корне проекта с содержимым / Create a secrets file named .env in the root of the project with the following content:
```
PublicKey=[Ваш паблик ключ сервера]
Endpoint=[Адрес вашего сервера]
DNS=[Адрес вашего ДНС сервера]
AllowedIPs=[разрешенные адреса, например - 0.0.0.0/0]
PersistentKeepalive=[индивидуальный параметр, например 22
CodePublicKey=[Your server's public key]
Endpoint=[Your server's address]
DNS=[Your DNS server's address]
AllowedIPs=[allowed addresses, e.g., 0.0.0.0/0]
PersistentKeepalive=[custom parameter, e.g., 22]
```1. Установите зависимости из `requirements.txt` / Install the depentions from `requirements.txt`:
```bash
pip install -r requirements.txt
```
### Использование