Hello folks,
just a quick follow up that... I hit a PEBKAC by observing the output
of ping(8). The various nodes actually communicates.

Leonardo Taccari writes:
> Hello folks,
> I am trying to configure wg(4) on netbsd-10 and -current.
>
> The hub is "stardust" and is a VPS with a public IPv4 address
> (51.15.113.87).
> All the other nodes ("pinebookpro", "abacus", "boh") are hosts NATed
> behind my home network.
>
> Communication between a node and "stardust" works, i.e. I can ping
> them from "stardust" and from a node I can ping "stardust".
> However, I would also to communicate between all other hosts, for
> example between "boh" and "abacus".
>
> When I try to ping from "boh" (10.2.0.4) to "abacus" (10.2.0.3) I have:
>
>  boh$ ping -c3 10.2.0.3
>  PING 10.2.0.3 (10.2.0.3): 56 data bytes
>  36 bytes from 10.2.0.1: Redirect Host New router addr: 10.2.0.3 for 
> icmp_seq=0
>  64 bytes from 10.2.0.3: icmp_seq=0 ttl=254 time=70.546813 ms
>  36 bytes from 10.2.0.1: Redirect Host New router addr: 10.2.0.3 for 
> icmp_seq=1
>  64 bytes from 10.2.0.3: icmp_seq=1 ttl=254 time=69.449518 ms
>  36 bytes from 10.2.0.1: Redirect Host New router addr: 10.2.0.3 for 
> icmp_seq=2
>  64 bytes from 10.2.0.3: icmp_seq=2 ttl=254 time=70.219366 ms
>  
>  ----10.2.0.3 PING Statistics----
>  3 packets transmitted, 3 packets received, 0.0% packet loss
>  round-trip min/avg/max/stddev = 69.449518/70.071899/70.546813/0.563315 ms
> [...]

I have tried on "abacus" (10.2.0.3):

 abacus$ nc -l 8080

...and then on "boh" (10.2.0.4):

 boh$ socat - TCP-CONNECT:10.2.0.3:8080
 foo
 bar
 baz
 ^D

...and then on "abacus" (10.2.0.3) I can see:

 foo
 bar
 baz

So it works!


Sorry for the noise and thanks for several pointers that I've got in
private!

Reply via email to