Handshake not working although nodes are reaching each other #1305
martinsson
started this conversation in
General
Replies: 1 comment 2 replies
-
I suspect that you are in a double NAT situation and the LTE side is probably using a symmetric NAT, making this a really tricky hole punching problem. The easiest way to escape without using a relay is to change the aws side to run nebula on a fixed port and specifically allow inbound traffic on that port. This will remove the NAT on the aws side and since you already have |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What version of
nebula
are you using? (nebula -version
)1.9.3
What operating system are you using?
Linux
Describe the Bug
I have two nodes, A and B
When A is initiating a handshake, node B starts logging about a handshake (that times out).
When B is initiating a handshake, node A starts logging about a handshake (that times out).
So the communication works both ways sort of, yet they don't succeed in establishing a handshake.
Node A is on aws with a public IP, node B is behind a LTE router with no public IP. The surprising thing is that at times it will work without me changing anything.
If I activate the relay on the node behind the LTE router it seems to work systematically. So I do have this work-around, but still I'd like to understand what's happening here. I cannot fathom that both nodes succeed in contacting each other without them being able to conclude the handshake
The lighthouse can always ping both nodes
Logs from affected hosts
Node A
Node B
Config files from affected hosts
Both nodes share the same config
Beta Was this translation helpful? Give feedback.
All reactions