A very frequent topic on our forum is how to expose a service running inside of a LXD instance to the outside world. There are quite a few ways to do that depending on your network setup and on exactly what you want to expose.
In this video, we're going over the most common options:
Directly routing the lxdbr0 subnet
Using macvlan
Using a bridge
Using a proxy device
TIMESTAMPS:
0:00 Introduction
0:34 Environment
2:36 Routed subnet
4:48 Macvlan
7:26 Bridging
11:00 Proxy device (NAT)
14:08 Proxy device (TCP)
15:52 Proxy device (Unix)
18:50 Proxy device (TCP with proxy protocol)
20:38 Conclusion
RESOURCES:
Proxy device: https://documentation.ubuntu.com/lxd/...
Website: https://ubuntu.com/lxd
Community forum: https://discourse.ubuntu.com/c/lxd/