Caddy 2 - Reverse Proxy + Moonlight

1. Output of caddy version:

2. How I run Caddy:

Windows Service offering simple reverse proxy jobs

a. System environment:

Windows 10

b. Command:

Caddy Run 

Into CMD

c. Service/unit/compose file:

Not using Docker

d. My complete Caddy config:

{
email bradley@woodward.earth

}

media.woodward.earth {
reverse_proxy http://localhost:5000
}

button.woodward.earth {
reverse_proxy http://localhost:3001
}

station.woodward.earth {

reverse_proxy 192.168.1.215:5000
}

3. The problem I’m having:

I would like some help with using Moonlight hosting with Caddy. I want to see if I can point sub.domain.tld to an internet IP.

However, Moonlight uses more than 1 port to connect.
How can I use Caddy reverse proxy with more than 1 port?

Moonlight uses the following ports:
TCP: 47984, 47989, 48010. UDP: 47998, 47999, 48000, 48002, 48010

4. Error messages and/or full log output:

Currently no errors are shown.

5. What I already tried:

emily.woodward.earth:47984 {
reverse_proxy 192.168.1.212:47984
}
emily.woodward.earth:47989 {
reverse_proxy 192.168.0.212:47989
}
emily.woodward.earth:48010 {
reverse_proxy 192.168.0.212:48010
}
emily.woodward.earth:47998 {
reverse_proxy 192.168.0.212:47998
}
emily.woodward.earth:47999 {
reverse_proxy 192.168.0.212:47999
}
emily.woodward.earth:48000 {
reverse_proxy 192.168.0.212:48000
}
emily.woodward.earth:48002 {
reverse_proxy 192.168.0.212:48002
}

And

Emily.woodward.earth {
Reverse_proxy 192.168.1.212:47984-48010
}

6. Links to relevant resources:

Caddy is an HTTP proxy.

Are you sure that Moonlight uses HTTP? Or is it some other TCP/UDP protocol?

What’s your goal with this proxy? What are you trying to do exactly? Why do want to use a proxy for it?

This topic was automatically closed after 30 days. New replies are no longer allowed.