Skip to content

Add holepunching support on LAN#236

Open
supersuryaansh wants to merge 1 commit intoholepunchto:mainfrom
supersuryaansh:main
Open

Add holepunching support on LAN#236
supersuryaansh wants to merge 1 commit intoholepunchto:mainfrom
supersuryaansh:main

Conversation

@supersuryaansh
Copy link
Member

Currently on LAN after discovering that both peers are on LAN, the client just pings the server using a dht.ping() and waits for it to respond, however if the server is behind a firewall that ping never resolves and we throw a HOLEPUNCH_ABORTED error where we never actually holepunch.

This PR changes that and enables holepunching b/w LAN clients as well.

Info: I used AI to help me with this PR and I have written it to the best of my knowledge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant