mirror of https://github.com/Kiritow/wg-ops
parent
df2debdd24
commit
cda2ef556a
17
create.sh
17
create.sh
|
@ -1,17 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
echo 'Detecting Public IP address...'
|
||||
export WG_PUBLICIP=$(curl ident.me)
|
||||
|
||||
export WG_MYPRIK=$(wg genkey)
|
||||
export WG_MYPUBK=$(echo $WG_MYPRIK | wg pubkey)
|
||||
|
||||
export TMUX_PATH=$(which tmux)
|
||||
|
||||
python3 wgop_create.py
|
||||
python3 wgop_generate.py
|
||||
|
||||
chmod +x start.sh
|
||||
chmod +x stop.sh
|
||||
chmod +x restart.sh
|
||||
chmod +x reload.sh
|
Loading…
Reference in New Issue