wg-ops/quick_create_client.sh

15 lines
253 B
Bash
Raw Normal View History

2021-07-26 21:32:23 +08:00
#!/bin/bash
export WG_MYPRIK=$(wg genkey)
export WG_MYPUBK=$(echo $WG_MYPRIK | wg pubkey)
2021-07-31 16:30:32 +08:00
export TMUX_PATH=$(which tmux)
2021-08-23 01:31:21 +08:00
python3 wgop_quick_client.py
python3 wgop_generate.py
chmod +x start.sh
chmod +x stop.sh
chmod +x restart.sh
2021-07-31 16:30:32 +08:00
chmod +x reload.sh