Networksetup question

Hi all,

I have a setup question.
howto do this:

on 1 WAN connection setup a apiscp server and 1 other server
both use ports 80 and 443

See NAT.md.

Thanks for the link.
Im still not sure howto setup this.

[WAN] >
[router]
p1 = server1
p2 = nas

both needs port 80 and 443 on 1 public ip is this possible?
and how to setup?

You’d need a reverse proxy on the router (or before p1/p2) to forward the hostname to the proper internal IP. This ends up being protocol-dependent. Something like haproxy or Envoy would actually be able to do this.

How to Map Domain Names to Backend Server Pools With HAProxy

Using Envoy to Route Internal Requests