Page 1 of 1


Posted: Sat Mar 06, 2021 5:54 am
by anonim1
sudo apt update

sudo apt upgrade

sudo add-apt-repository ppa:wireguard/wireguard

sudo apt-get update

sudo apt-get install wireguard

sudo apt-get install mawk grep iproute2 qrencode

wget ... y-wg-quick

nano /etc/sysctl.conf

#net.ipv4.ip_forward = 1 /////# clear///////
net.ipv4.ip_forward = 1

sysctl -p

net.ipv4.ip_forward = 1

chmod +x easy-wg-quick


cat wgclient_10.conf

cp wghub.conf /etc/wireguard/wghub.conf

systemctl enable wg-quick@wghub

systemctl start wg-quick@wghub

wg show

adding new profiles///////////////
./easy-wg-quick profile_name
cp wghub.conf /etc/wireguard/wghub.conf
systemctl restart wg-quick@wghub

skip line 2 do not wgclient_10.conf in the root folder
WinSCP wgclient_10.conf ... atest.html PuTTY
change the port to come up with your own