# NAT Router with miniupnpd (UPnP IGD only, NAT-PMP disabled) FROM alpine:3.19 RUN apk add --no-cache \ miniupnpd \ iptables \ iproute2 \ bash # Startup script (generates miniupnpd config dynamically) COPY router-entrypoint.sh /entrypoint.sh RUN chmod +x /entrypoint.sh # UPnP SSDP multicast + HTTP control port EXPOSE 1900/udp ENTRYPOINT ["/entrypoint.sh"]