Skip to content

How can I use libp2p simply for NAT traversal? #1861

@actuday6418

Description

@actuday6418

Disclaimer: I don't have an education in networking, so please forgive my naivety.

Hey,
I want to send data over the internet from one computer behind a router to another also behind a router. I don't need this data to be encrypted or anything. I don't need the computers to discover each other either.

The way I understand it, NAT works by forwarding traffic from the router's public address to a device's private one. If there is a way for the router to know that the incoming data must go to a particular node in it's private network, shouldn't there be some way of identifying to which node within a private network a data packet must go? So then the data packet will have some identifying characteristic ( address, port? ). Can I determine this address and then use that to send data from one computer to another?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions