nebula: Nodes can see the Lighthouse but they cant see eachother
Hi
I setup a small network of 3+ nodes. Non LH nodes can ping the LH. LH can ping the nodes but the nodes cant ping eachoher.
This seems to work only for the nodes that are on the same wifi network. Anything from external to another external node or external to internal does not work, unless there is another form of VPN is active between the exteral nodes, like Wireguard.
The LH is behind a router so I port forwarded the default port, this seems to work given that any of the nodes can connect to the LH.
It is interesting that when I try to ping from one of the external nodes to a node in the home wifi, there is activity on the receiving internal node, but pings are all unsuccessful meaning that the ping just stalls.
time="2019-12-11T14:46:38-06:00" level=info msg="Handshake message sent" handshake="map[stage:1 style:ix_psk0]" initiatorIndex=688165208 remoteIndex=0 udpAddr="192.168.0.23:59683" vpnIp=10.x.0.12
time="2019-12-11T14:46:40-06:00" level=info msg="Handshake message sent" handshake="map[stage:1 style:ix_psk0]" initiatorIndex=688165208 remoteIndex=0 udpAddr="EXTERNAL-IP:59683" vpnIp=10.x.0.12
time="2019-12-11T14:46:43-06:00" level=info msg="Handshake message sent" handshake="map[stage:1 style:ix_psk0]" initiatorIndex=688165208 remoteIndex=0 udpAddr="10.3.0.2:59683" vpnIp=10.x.0.12
I have all the punch stuff enabled. Am I supposed to forward more ports or port ranges?
Please bear in mind that in the given situation WG works perfectly, and all the wg nodes can see eachother without issues, including all the traffic routing setup. I would like to setup Nebula as a fallback solution, in case one wonders why I am trying to use both.
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Reactions: 6
- Comments: 25
Hi All, This is almost always a NAT or two that aren’t playing nice. Sorry for the delay replying!
A week ago, when the core devs had a meeting, we spec’d out the way we are going to do relays, at the protocol level. While this wasn’t a design goal of Nebula, there is enough need in the community that it is worth doing.
Same issue here.
I’ve got one lighthouse node with public ip addr, firewall open port 4242 for udp&tcp; one laptop at home behind nat; one laptop at office(also behind nat).The connection status would be:
lighthouse <-both way connected-> home laptop lighthouse <-both way connected-> office laptop home laptop <-no connection-> office laptop
Sure
So I’ve been slowly expanding out my nebula network to machines, and haven’t had many issues. I invited a friend in to my network and generated some certs for 4 of his machines.
So far he has 3 running, and the results are very odd. 2 of the machines are at his house, and 1 machine is at his work. 1 machine at his house is windows, 1 machine is ubuntu, and the machine at his work is also Windows.
The machine I’m currently on is a Windows machine at my house.
This windows machine at my house is able to ping and connect to his ubuntu machine at his house, but not to the windows machine at his house or work. He is able to ping his house ubuntu machine from work but not the house windows machine at work.
Here’s the logs from the lighthouse 128.0.3.2 is the windows machine at his house 128.0.3.3 is the ubuntu machine at his house 128.0.3.4 is the windows machine at his work
This 128.0.1.3 is the windows machine I’m currently on
The config file for his linux machine is here
And here is his Windows config file
Let me know if you want more of anything.