Настройка WireGuard
wg genkey |tee /etc/wireguard/privatekey | wg pubkey |tee /etc/wireguard/publickey
chmod 600 privatekey
vim wg0.conf



echo "net.ipv4.ip_forward=1" >> /etc/sysctl.conf
sysctl -p

systemctl enable wg-quick@wg0.service
systemctl start wg-quick@wg0.service
systemctl status wg-quick@wg0.service

systemctl list-units --type service --state running
systemctl list-units --type service --state failed

wg genkey |tee vpn_user1_privatekey | wg pubkey |tee vpn_user1_publickey

wg0-client-vpn_user1.conf



wg0-client-vpn_user2.conf



на клиенте
apt-get install wireguard openresolv
cp wg0-client-vpn_user1.conf /etc/wireguard/wg0.conf
wg-quick up wg0
ip a
wg-quick down wg0

qrencode -t ansiutf8 -l L <"wg0-client-vpn_user1.conf"

WireGuard VPN — лучше платных сервисов и проще OpenVPN. Полная настройка WireGuard!
https://www.youtube.com/watch?v=5Aql0V-ta8A

WireGuard
https://play.google.com/store/apps/details?id=com.wireguard.android


OpenVPN и Wireguard клиенты через Network manager
Как настроить клиент WireGuard VPN с графическим интерфейсом NetworkManager
Wireguard для внутренней сети
Управление Wireguard через NetworkManager
Chapter 8. Setting up a WireGuard VPN
[HowTo] Configure WireGuard via the NetworkManager GUI (Advanced Network Manager)

How to Install and Configure WireGuard Client on Ubuntu 22.04
This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

Profile

uzverss: (Default)
uzverss

December 2024

S M T W T F S
12345 67
891011121314
15161718192021
22232425262728
293031    

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jan. 22nd, 2026 01:18 pm
Powered by Dreamwidth Studios