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 Tue, 14 Jan 2025, Paul W. Rankin wrote:
From the NetBSD server...
$ nc -ul 9443; echo $?
nc: Address already in use
1
You'll have to stop wireguard first.
UDP works:
$ nc -zu starbeastie.rnkn.xyz 9443; echo $?
Connection to starbeastie.rnkn.xyz port 9443 [udp/tungsten-https] succeeded!
0
UDP's not a connection-oriented protocol, so you'll have to pass data to see
if the connection works.
TCP does not:
$ nc -z starbeastie.rnkn.xyz 9443; echo $?
1
No TCP server at the other end (and the UDP one didn't start/won't do).
Run a TCP server with: nc -l 9443 (after stopping WG, of course).
-RVP
Home |
Main Index |
Thread Index |
Old Index