Re: Wireguard doesn't seem to work on macppc 7.8
Gabriele Vento <[email protected]> Thu, 14 May 2026 15:54:19 +0200
| Newsgroups | gmane.os.openbsd.bugs |
|---|---|
| Message-ID | <[email protected]> |
On May 14, 2026 9:43:33 AM GMT+02:00, Alexandr Nedvedicky <[email protected]> wrote: >Hello, >On Thu, May 14, 2026 at 08:30:02AM +0200, Gabriele Vento wrote: >> >> >> On May 14, 2026 12:48:03 AM GMT+02:00, Vitaliy Makkoveev <[email protected]> wrote: >> >On Wed, May 13, 2026 at 08:54:24AM -0600, Theo de Raadt wrote: >> >> Is this a byte order problem? >> >> >> > >> >I just check wg(4) on my Powerbook G4. Everything works fine. It runs >> >"OpenBSD 7.9 (GENERIC) #54: Fri May 8" but I'm pretty sure 7.8 should >> >also work fine. >> > >> >Gabriele, what do yo mean saying "just doesn't work"? Does it failed to >> >connect to the peer or does it successfully connect, but traffic does >> >not go within tunnel? >> Traffic does not go within the tunnel. >> > > can you share output of `ifconfig wg` for both tunnel ends? On my end it is outputs wg0: flags=80c3<UP,BROADCAST,RUNNING,NOARP,MULTICAST> mtu 1300 description: ... index 8 priority 0 llprio 3 wgport 22670 wgpubkey ... wgpeer ... wgpsk (present) wgpka 15 (sec) wgendpoint 15.204.55.83 42070 tx: 7844, rx: 0 wgaip 15.204.55.83/10 groups: wg inet ... netmask 0xffffffff For the other end of the tunnel, I do not own that endpoint so I cannot provide the output. > optionally content of /etc/hostname.wgX on both endpoints. My system does not appear to possess that file. > Make sure to redact/remove any keys for tunnel. I suspect > there might be issue with wgaip settings which Stuart mentioned. > > also if you can check output of > route get $IP_address_reached_over_tunnel > command should help us to tell the routing works as expected, > you can use remote tunnel peer's address. Sure, here is the output: route to: 15.204.55.83 destination: 0.0.0.0 mask: 0.0.0.0 gateway: 10.34.116.212 interface: gem0 if address: 10.34.116.145 priority: 8 (static) flags: <UP,GATEWAY,DONE,STATIC> label: dhcpleased use mtu expire 39 0 0 sockaddrs: <DST,GATEWAY,NETMASK,IFP,IFA,LABEL> > > also any chance pf(4) drops traffic for wg-tunnel? I do not know how to check this, I read through tcpdump /var/log/pflog but it only outputs a single line: tcpdump: WARNING: snaplen raised from 116 to 160. >thanks and >regards >sashan >