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



RVP <rvp%SDF.ORG@localhost> wrote:
> Does a regular connection work? Use the same Wireguard port:
> 
> On the server:
> nc -u -l 9443
> 
> On the client:
> nc -u server-ip 9443
> 
> Type something on both ends. Try a TCP connection, too (w/o `-u').
> Does the TCP connection break after a while when typing, or is it stable
> until you kill nc(1)?

From the NetBSD server...

	$ nc -ul 9443; echo $?
	nc: Address already in use
	1

I think macOS nc flags are a little different, but from the macOS
client...

UDP works:

	$ nc -zu starbeastie.rnkn.xyz 9443; echo $?
	Connection to starbeastie.rnkn.xyz port 9443 [udp/tungsten-https] succeeded!
	0

TCP does not:

	$ nc -z starbeastie.rnkn.xyz 9443; echo $?
	1


Home | Main Index | Thread Index | Old Index