Skip to content

20vikash/slabs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SNAWGCONNET

This Python script allows you to manage your Wireguard VPN connections on your Linux machine. With this script, you can start, stop, and check the status of your Wireguard connection.

Prerequisites

This script requires Python 3 to be installed on your system, as well as the following packages:

  • WGMO
  • subprocess
  • urllib.request
  • sys
  • os

Installation

Install my-project with npm

git clone https://github.com/20vikash/slabs.git

Clone or download the repository to your local machine. Open a terminal and navigate to the directory where the script is located. Run the following command to install the required packages:

pip install -r requirements.txt

Usage

  • Open a terminal and navigate to the directory where the script is located.

  • Run the following command to start the Wireguard connection:

python3 wireguard_manager.py up

  • Run the following command to stop the Wireguard connection:

python3 wireguard_manager.py down

  • Run the following command to check the status of the Wireguard connection:

python3 wireguard_manager.py status

If you have not configured Wireguard yet, the script will guide you through the installation and configuration process.

Demo

Insert gif or link to demo

Screenshots

  • File Location App Screenshot

  • New Configration new conf

  • Wire Guard installation wireguardistallcompleted

  • Private keygen Privatekey

  • Public keygen

pulicjeygen

  • After generating the public key, add it to Essential Labs by navigating to the "Add new" panel and pasting it in the designated area.

  • Add new and add the Public key in this panel labsconfig

  • After added the Configration click three dots and copy and paste the conf in this nano edit and save it Configration

  • Once the configuration is saved, the device will become available in Essential Labs and show as online.

deviceoline

  • To connect to the device via SSH, use the allocated IP address and run the following command: Lab ssh

  • After that if you think disconnect the device use this command like this

showdown

It will down the device and show like this

showdownsate its goes offline with few minitues

  • Now when everyyou can simply up the device and connect like this

labup

  • By SNA Students Logo

License

MIT License

GPLv3 License

AGPL License

Authors

Our mentor Grand wizard of technology @Sibidharan

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages