I have a service set up, the server of which is inside my local network. Communication takes place via port 443. When I try to enter from the outside, everything works, but when I enter from a computer that is in the same local network as the service, but to its address exposed outside, there is a problem because communication does not return.
You need a DNS entry on your internal DNS server (your Nethserver?) which must be used by your PCs / other hosts in this network. The DNS entry must point to the internal IP of this “special” webserver…
Example:
special.domain.tld → 192.168.33.44
“special.domain.tld” should be the same as used externally…
Another option would be to use Hairpin NAT in the firewall options.
The first option does not have traffic pass unnecessarily twice through the firewall, as with the Hairpin option…
Thank you for your answer. With this dns I think this is the best idea. I read about hairpin and it’s not safe.
Only where I can add such an entry, when I enter the DNS tab, I only have something like this: