NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Getting wg(4) NetBSD server to work with WireGuard(R) macOS client



On Sun, 12 Jan 2025, Paul W. Rankin wrote:

[...]
	# wgconfig wg0 add peer sevastopol \
		1WaiYse6arup/pNqos7CyvtsTm6O8PN+/s/6UZdk0kc= \
		--allowed-ips=10.2.0.42/32
[...]
Client's pub key:

starbeastie:~ $ wgconfig wg0
interface: wg0
       private-key: (hidden)
       listen-port: 9443
       peer: sevastopol
               public-key: 8Oe88+HZAJ39RePuIcw3OQjQtC+onX0/lXk2rxC9HUw=
               endpoint: 1.146.105.131:3090
               preshared-key: (hidden)
               allowed-ips: 192.168.10.0/24
               latest-handshake: Sun Jan 12 13:27:09 2025


How did a configured `--allowed-ips=10.2.0.42/32' change to
`allowed-ips: 192.168.10.0/24' on the interface?

-RVP


Home | Main Index | Thread Index | Old Index