Re: Wireguard doesn't seem to work on macppc 7.8
Gabriele Vento <[email protected]> Thu, 14 May 2026 18:37:01 +0200
| Newsgroups | gmane.os.openbsd.bugs |
|---|---|
| Message-ID | <[email protected]> |
On May 14, 2026 6:02:01 PM GMT+02:00, Alexandr Nedvedicky <[email protected]> wrote: >Hello, > >On Thu, May 14, 2026 at 05:57:45PM +0200, Gabriele Vento wrote: ></snip> >> > >> > the inet is 100.65.0.138 >> > >> > However I think it should be from the same network which is allowed >> > by wgaip option. Perhaps you should run: >> > >> > ifconfig wg0 15.204.55.83/10 >> That also does not work befause the problem is actually that the allowed IP >> is wrong, not the inet. In fact, any IP I try to allow results in the wgaip >> field being set to the endpoint ip (15.204.55.84) with whatever subnet mask I >> specified, even IPs not under 100.0.0.0/8. > > So it looks like the tool you use to set up the tunnel is broken. > you should be able to use ifconfig(8). try to follow steps in > Solene's blog it did work well for me recently. I tried following the blog, currently /etc/hostname.wg0 contains wgkey <privkey> wgpeer k/QiJlbMakMKgTCHVt8/D+8k4DzRVM6U33F3gMZfRUg= wgendpoint 15.204.55.83 42070 wgpsk <presharedkey> wgaip 100.64.0.0/10 inet 100.65.0.138/32 up I tried various combinations, such as omitting the preshared key or putting it before the wgendpoint field, and also tried using 0.0.0.0/0 as allowed ip (so that it would have kept the /0 part) to no avail, it still does show 15.204.55.83 as wgaip when shown with `ifconfig wg`, and even when the mask is /0 it doesn't let me ping any IP in the network. >good luck. >regards >sashan >