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:52 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
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.google.com/search?q=wgclien ... dFfbhGBgwM

Uninstall SoftEther VPN Server
To uninstall the Linux version of VPN Server when vpnserver is registered as a service, you must perform the following operation.

Execute the /etc/init.d/vpnserver stop command to stop VPN Server.
Execute the /sbin/chkconfig --del vpnserver command to delete registration of vpnserver as a service.
Delete the /etc/init.d/vpnserver file.
After performing the above operation, delete the directory where vpnserver is installed.

Post Reply