sudo systemctl enable wg-quick@wg0 sudo reboot #检查状态 systemctl status wg-quick@wg0 ip ad ifconfig ping 10.13.13.1 #这时候可以在server段检查下状态,会发现peer已经连接上去了 docker exec -it wireguard wg wg-quick up wg0会自动去找配置文件/etc/wireguard/wg0.conf $systemctlcatwg-quick@wg...
apt install openresolv wg-quickupwgcf wg-quickdownwgcf 开机启动等命令:守护 开机。。。 systemctlstartwg-quick@wgcfsystemctl enable wg-quick@wgcfsystemctl status wg-quick@wgcfsystemctl stop wg-quick@wgcfsystemctl restart wg-quick@wgcf 测试Netflix解锁 aptinstallcurljq-ybash<(curl -sSL"https...
If systemctl restart wg-quick@wg0 succeeds then, do the same with the client configs: /etc/wireguard/wg0-client.conf If it still fails with the same RTNETLINK answers: File exists error, do the following: sed -i '/^ListenPort[[:blank:]]/a\Table = off' /etc/wireguard/wg0.conf ...
bash sudo systemctl restart wg-quick@wg0 或者重启系统: bash sudo reboot 重启后,再次检查"wg0"设备是否存在以及WireGuard服务是否正常运行。 按照这些步骤操作后,你应该能够解决“cannot find device 'wg0'”的错误。如果问题仍然存在,可能需要更深入地检查你的WireGuard配置或系统环境。
run service wg-quick-op enable to enable service run service wg-quick-op start to start service edit /etc/wg-quick-op.yaml to config the interface that you want to start with system or needs ddns resolve run service wg-quick-op restart to restart service and apply configAbout...
脚本执行完成后,执行 systemctl status wg-quick@wg0检查是否安装成功: # systemctl status wg-quick@wg0● wg-quick@wg0.service - WireGuard via wg-quick(8) for wg0 Loaded: loaded (/usr/lib/systemd/system/wg-quick@.service; enabled; vendor preset: disabled) Active: active (exited) since Fri...
wg-quick down wgcf 开机启动等命令:守护开机。。。systemctl start wg-quick@wgcf systemctl enable wg-quick@wgcf systemctl status wg-quick@wgcf systemctl stop wg-quick@wgcf systemctl restart wg-quick@wgcf 测试Netflix解锁 apt install curl jq -y bash <(curl -sSL "https://github.com/Coi...
问有线vpn出错:找不到设备"wg0“EN尝试重新安装包wireguard-dkms(删除并重新安装)。之后可能需要重新...
wg-quick down wg0 yum remove -y wireguard-dkms wireguard-tools rm -rf /etc/wireguard/ echo "卸载完成" } config_client(){ cat > /etc/wireguard/client.conf <<-EOF [Interface] PrivateKey = $c1 Address = 10.0.0.2/24 DNS = 114.114.114.114 ...
--restart unless-stopped ghcr.io/wg-easy/wg-easy and i got Error: WireGuard exited with the error: Cannot find device "wg0" This usually means that your host's kernel does not support WireGuard! Expected behavior I want to it works :D ...