Open lmatusek opened 2 years ago
Show us your wg0 config and an output of
sudo ip add
and
sudo netstat -tupeena | grep 1199
At the end you opened my eyes, I was using same listening port for both interface. So, that was my serious mistake. I am so sorry….
Thanks for your effort and time…
Here they are:
[Interface] PrivateKey = 0PX**** Address = 172.16.28.252/24 ListenPort = 1199
[Peer]
PublicKey = GvLY*** AllowedIPs = 172.16.28.2/32
[Peer]
PublicKey = re1JHj8p*** AllowedIPs = 172.16.28.3/32
[Peer]
PublicKey = *** AllowedIPs = 172.16.28.4/32
[Peer]
PublicKey = *** AllowedIPs = 172.16.28.5/32
[Peer]
PublicKey = *** AllowedIPs = 172.16.28.6/32
————
@.***:~$ sudo wg-quick up wg0 [#] ip link add wg0 type wireguard [#] wg setconf wg0 /dev/fd/63 [#] ip -4 address add 172.16.28.252/24 dev wg0 [#] ip link set mtu 1420 up dev wg0
@.:~$ sudo wg-quick up wg1 [#] ip link add wg1 type wireguard [#] wg setconf wg1 /dev/fd/63 [#] ip -4 address add 10.1.1.254/32 dev wg1 [#] ip link set mtu 1420 up dev wg1 RTNETLINK answers: Address already in use [#] ip link delete dev wg1 ——— @.:~$ sudo netstat -tupeena | grep 1199 udp 0 0 0.0.0.0:1199 0.0.0.0: 0 287069921 - udp6 0 0 :::1199 ::: 0 287069922 - ————
- szept. 26. dátummal, 15:45 időpontban ben-ba @.***> írta:
Show us your wg0 config and an output of sudo ip add and sudo netstat -tupeena | grep 1199
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/runfalk/synology-wireguard/issues/106#issuecomment-927309195, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKGP4O65LLYO4IXEAWZHHTTUD4PWBANCNFSM5EPT73HQ. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
After wg0 interface starts successfully:
wg1 doesn't:
wg1.conf is the following:
This story was working on DSM 6.2 smoothly. What's wrong? Could you be so kind to help me?
Thanks in advance.