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.
-
Install Go compiler.
-
Compile and install this program:
go install github.com/yoursunny/NDN-webtrans/cmd/ndn-webtrans-gateway@latest
-
Edit UDP MTU in NFD configuration:
sudo infoedit -f /etc/ndn/nfd.conf -s face_system.udp.unicast_mtu -v 1200
-
Obtain an TLS certificate with acme.sh.
-
Start this program:
ndn-webtrans-gateway \ -cert fullchain.cer -key tls.key \ -listen :6367 -connect 127.0.0.1:6363