Ubuntu 20.04 for m2 does not support Wireguard VPN
|
Original topic Author:smatask,If you repost, please indicate the source:《 Ubuntu 20.04 for m2 does not support Wireguard VPN 》
|
Original topic Author:smatask,If you repost, please indicate the source:《 Ubuntu 20.04 for m2 does not support Wireguard VPN 》
https://drive.google.com/drive/f ... MefLA4Y?usp=sharing
Hey!!!!
Now it really works.
Thanks.
I'm glad.
root@firefly:/etc/wireguard# uname -a
Linux firefly 4.19.193 #76 SMP Thu Feb 24 14:25:47 CST 2022 aarch64 aarch64 aarch64 GNU/Linux
root@firefly:/etc/wireguard# wg-quick up wg0
[#] ip link add wg0 type wireguard
[#] wg setconf wg0 /dev/fd/63
[#] ip -4 address add 172.23.0.33/24 dev wg0
[#] ip link set mtu 1420 up dev wg0
root@firefly:/etc/wireguard# wg
interface: wg0
public key: BmRJSAsSDDeBX/oZNe4LG0bzibYJrQnN/t51BQHUbSw=
private key: (hidden)
listening port: 45000
peer: 58zRAgkH9vLUB4PUUH8YYVsfX5Rmeoxw+6YK9L6WDhc=
endpoint: 10.10.10.19:45000
allowed ips: 172.23.0.19/32
latest handshake: 9 seconds ago
transfer: 92 B received, 180 B sent
persistent keepalive: every 25 seconds
root@firefly:/etc/wireguard# ping 172.23.0.19
PING 172.23.0.19 (172.23.0.19) 56(84) bytes of data.
64 bytes from 172.23.0.19: icmp_seq=1 ttl=64 time=0.931 ms
64 bytes from 172.23.0.19: icmp_seq=2 ttl=64 time=1.43 ms
^C
--- 172.23.0.19 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1002ms
rtt min/avg/max/mdev = 0.931/1.182/1.433/0.251 ms
Good work
Stay in touch