WireGuard / wireguard-vyatta-ubnt

WireGuard for Ubiquiti Devices
https://www.wireguard.com/
GNU General Public License v3.0
1.46k stars 69 forks source link

PTP links, with duplicate address on multiple interfaces is not allowed #53

Closed samip5 closed 3 years ago

samip5 commented 3 years ago

What is the proper way to do PTP links so that I can use the router's own address with it?

If router has a address of 172.22.114.97, tunnels should be able to be done by doing set interfaces wireguard wg0 address 172.22.114.97/32 for multiple interfaces, but it complains about duplicate address. Is there something that can be done about that?

The error:

[ interfaces wireguard wg422 address 172.22.114.97/32 ]
Use of uninitialized value in concatenation (.) or string at /opt/vyatta/bin/sudo-users/vyatta-interfaces.pl line 362.
Error: duplicate address 172.22.114.97/32 on

[ interfaces wireguard wg424 address 172.22.114.97/32 ]
Use of uninitialized value in concatenation (.) or string at /opt/vyatta/bin/sudo-users/vyatta-interfaces.pl line 362.
Error: duplicate address 172.22.114.97/32 on

Commit failed
FossoresLP commented 3 years ago

Hi @samip5, this is not a limitation of WireGuard or this specific package of it but instead of EdgeOS itself. Closing this since it is nothing we can fix here.