Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mzz2017/keep-wg-alive
Check and reconnect the wg interfaces automaticly.
https://github.com/mzz2017/keep-wg-alive
Last synced: about 1 month ago
JSON representation
Check and reconnect the wg interfaces automaticly.
- Host: GitHub
- URL: https://github.com/mzz2017/keep-wg-alive
- Owner: mzz2017
- License: mit
- Created: 2021-09-20T15:12:27.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-10-30T14:20:30.000Z (about 2 months ago)
- Last Synced: 2024-10-30T15:26:50.981Z (about 2 months ago)
- Language: Shell
- Homepage:
- Size: 12.7 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# keep-wg-alive
Wireguard connection would disconnect after a long sleep. And this repo will help you check and reconnect the wg interfaces automaticly.
## Installation
### Archlinux / Manjaro
```bash
git clone https://aur.archlinux.org/keep-wg-alive-git.git
cd keep-wg-alive-git
makepkg -si
```### Universal
```bash
sudo cp keep-wg-alive.sh /usr/bin
sudo cp systemd/* /usr/lib/systemd/system
```## Usage
### Systemd
```bash
sudo systemctl enable --now keep-wg-alive.timer
```