Files
vpnbot/scripts/init.sh
T
2024-11-05 18:35:31 +04:00

20 lines
390 B
Bash
Executable File

apt update
apt install -y \
ca-certificates \
curl \
gnupg \
lsb-release \
make \
git \
iptables \
iproute2 \
xtables-addons-common \
xtables-addons-dkms
curl -fsSL https://get.docker.com -o get-docker.sh && sh get-docker.sh
git clone https://github.com/mercurykd/vpnbot.git
cd ./vpnbot
echo "<?php
\$c = ['key' => '$1'];" > ./app/config.php
make u