Container with WAN NAT and second NIC for LAN

Please take a look at How to get LXD containers get IP from the LAN with routed network