Depending of what you want to do exactly, they can have some others port to forward in order to use every features of YunoHost. (25, 587, 993 for mails - 80, 443 for web - 5222, 5269 for xmpp, …)
So, I suggest you to configure your host as a DNAT thanks iptables to redirect every/some ports on your LXC container. I don’t know iptables very well but I think that you need this type of commands : iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 443 -j DNAT --to-destination <ip-of-container>
Hi, thank you for your answer ! This is effectively another possibility.
But i don’t think i could not use the non-lxc web service if i’m doing this. Apache or Nginx on the host would allows me a vhost-based switch (relying on fqdn) where NAT would forward everything.