Skip to content

yoursunny/NDN-webtrans

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NDN HTTP/3 WebTransport Gateway

NDN-webtrans logo

This program provides a proxy between Chromium WebTransport API and Named Data Networking's plain UDP transport. It is designed to work with NDNts @ndn/quic-transport package.

Deployment Instructions

  1. Install Go compiler.

  2. Compile and install this program:

    go install github.com/yoursunny/NDN-webtrans/cmd/ndn-webtrans-gateway@latest
  3. Edit UDP MTU in NFD configuration:

    sudo infoedit -f /etc/ndn/nfd.conf -s face_system.udp.unicast_mtu -v 1200
  4. Obtain an TLS certificate with acme.sh.

  5. Start this program:

    ndn-webtrans-gateway \
      -cert fullchain.cer -key tls.key \
      -listen :6367 -connect 127.0.0.1:6363