You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 18, 2023. It is now read-only.
To create a UDP tunnel to a remote instance of NFD, execute the following command in a terminal:
nfdc face create udp://
where is the name or IP address of the other host (e.g., udp://ndn.example.net). If successful, this will print something like:
face-created id=308 local=udp4://10.0.2.15:6363 remote=udp4://131.179.196.46:6363 persistency=persistent
To add a route /ndn toward this remote forwarder, execute the following command in a terminal:
nfdc route add /ndn udp://
This will print:
route-add-accepted prefix=/ndn nexthop=308 origin=static cost=0 flags=child-inherit expires=never
This indicates that NFD will forward all Interests that start with /ndn through the face to the other host. This forwards Interests to the other host, but does not provide a “back route” for the other host to forward Interests to you. For this, you can rely on the “automatic prefix propagation” feature of NFD or use the nfdc command on the other host to add the route.