From acba1832ae306acd6522747b684b79d06f111d26 Mon Sep 17 00:00:00 2001 From: kevin Date: Mon, 19 Dec 2022 12:39:18 -0700 Subject: [PATCH] Add README.md --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..c208745 --- /dev/null +++ b/README.md @@ -0,0 +1,18 @@ +# dlnaprox + +This program is a DLNA proxy. It proxies UDP multicast packets to and from the +specified networks. These two networks are knowns as the inner and the outer +network. The basic assumption is that the inner network can send normal IP +requests to the outer network, but not visa versa. For example, a Docker +container on a bridged docker network can only be accessed through forwarded +ports. However, if it sends a request to an address on the same network as the +host system, by default, the other host is reachable. This program forwards +multicast broadcasts to 239.255.255.250:1900 to the other network. Since the +spec says that responses to the broadcast should sent to port that originated +it. So we keep a map of sockets so we can correctly proxy these responses. + +## Usage + +```bash +dlnaprox -i 172.17.0.0/16 -o 192.168.0.0/24 +``` \ No newline at end of file