Coder Social home page Coder Social logo

its0x08 / wg-install Goto Github PK

View Code? Open in Web Editor NEW
148.0 10.0 11.0 98 KB

Wireguard auto-installer for Ubuntu, Debian, CentOS and Fedora

Shell 100.00%
wireguard vpn vpn-server vpn-client vpn-manager secure-by-default state-of-the-art fast kernel-module low-bandwidth

wg-install's Introduction

Hello

I am a software engineer with a passion for technology and a love for open source. I write code primarily in ๐Ÿ Python, ๐Ÿ“œ Javascript/Nodejs/Reactjs, ๐Ÿš Bash, and ๐Ÿ“Š MySQL/SQLite, but I'm always willing to learn and try new things.

In addition to software engineering, I am also a cybersecurity researcher and DevOps engineer. I have experience in managing and securing systems in both on-premises and cloud environments.

In my free time, you can find me participating in CTFs or trying my hand at Bug Bounties. I'm always looking for ways to improve my skills and contribute more to the open source community.

  • ๐ŸŽ“ Bachelor's degree in Informatics and Information Technology
  • ๐ŸŽ“ Master's degree in Artificial Intelligence and Robotics

Visitors Twitter: BegajKristi Linkedin: begaj GitHub Thaiane

0x08's github stats

paypal

wg-install's People

Contributors

its0x08 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

wg-install's Issues

Deleting / removing connections

love the ease of use of the setup with nice and easy commands to install and create and view connection status of clients.

However wondering the cleanest way to remove a connection and return the released local IP back to the pool within the set subnet
meaning its available again to be used for a newly created config.

too slow

my internet connection is a bit slower than OpenVPN I had installed previously, and they said WG was supposed to be faster...

looking at other installation guides I think you are missing a few things like install and configure unbound
sudo apt install -y unbound unbound-host

check this file for other things you might be missing...

https://github.com/drew2a/wireguard/blob/master/wg-ububtu-server-up.sh

Support for openwrt ?

This is a great script. I have a R7000 nighthawk with freshtomato and support for opkg. Would be great if OpenWRT support could be added.

No external internet access when installed on Centos 8

Hi just wanted to advise that there is an issue with the setup on Centos 8
i had a clean fully patched install of Centos 8 and script runs perfectly and generates clients and even allows clients to connect just fine but afterwards there appears to be no external gateway so therefore no internet connection for all clients. This occured even after multiple reboots.

i was testing using a number of different routers and levels of firmware on them but mainly a GLinet A750 running 3.104 which fully supports WG clients.

today whilst trying to determine further i rebuilt server to Ubuntu 20.04 ran all upgrades ran the scripts and added it to the same routers as previous test with Centos 8 and all worked fine internet access exactly as expected.

configuration

How do I change SERVER_HOST ? Also, does the setup make client-wg0.conf the server configuration and then the /etc/wireguard/wg0.conf file is the client configuration.

I appreciate your time and effort.

Thanks,
Cole

the Servers public IP address is always 127.0.1.1, not my VPS ip

Hello, i installed several times, the Servers public IP address is always 127.0.1.1, not my VPS ip

[i] OS: Ubuntu
[i] Servers public IP address is 127.0.1.1 Is that correct? [y/n]: n
[-] Aborted. Use environment variable SERVER_HOST to set the correct public IP address

no internet connection

I installed this on Debian 10, everything went well and I can generate new clients..
after I loaded my wg0.conf file in windows client it says ( status: Active ) but I get no internet connection

also when I type (wg show) in the terminal, nothing is showing,

also when I create a new user I add a number after it (mason2)

do you know what could be happening?

./wg.sh: line 166: -4: substring expression < 0

# ./wg.sh 
Tell me a name for the client config file. Use one word only, no special characters.
Client name: user
./wg.sh: line 166: -4: substring expression < 0

Might be a problem with br0 primary interface?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.