Installation-wireguard-server-Ubuntu-18

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
anonim1
Posts: 4
Joined: Wed Feb 10, 2021 2:14 pm

Installation-wireguard-server-Ubuntu-18

Post by anonim1 » Sat Mar 06, 2021 5:54 am

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 https://raw.githubusercontent.com/burgh ... y-wg-quick

nano /etc/sysctl.conf


#net.ipv4.ip_forward = 1 /////# clear///////
net.ipv4.ip_forward = 1
Ctrl+C
Ctrl+X


sysctl -p


net.ipv4.ip_forward = 1


chmod +x easy-wg-quick

./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 https://winscp.net/eng/download.php
https://www.wireguard.com/install/
https://www.chiark.greenend.org.uk/~sgt ... atest.html PuTTY
change the port to come up with your own

Post Reply