On 28/12/2019 15.25, Dave Howorth wrote:
On Sat, 28 Dec 2019 13:24:24 +0100 "Carlos E.R." <robin.listas@gmx.es> wrote:
.htaccess will not work, I don't get to know the IP of the incoming connection. All report MY router address.
The information must be there somewhere. Otherwise neither the router nor the application on the PC could tell which connection it was replying to. Suppose you want to serve one page to one connection and a different page to another connection; how could you do that?
The router knows, just not me nor the machines in the LAN. The machine in the LAN simply responds to the router, at the port it is told to reply to. It works. At least with SSH, I have not tested http. But Anton just told of a trick: tell the router to send to a secondary (virtual) IP of the server inside the LAN. That way it will know it comes from outside and trigger a different virtual domain. -- Cheers / Saludos, Carlos E. R. (from 15.1 x86_64 at Telcontar)