External and internal Access to Webserver
I have to following problem:
I have a webserver running behind my Firebox (10.0.1.45:8008), I want to be able to access from inside and outside.
To get external access, I created this SNAT entry:
Any-External --> 10.0.1.45: 8008
Additionally I created a firewall rule
To: SNAT (Any-External --> 10.0.1.45: 8008)
Additionally I have created a subdomain and a DNS entry for our domain:
subdomain.domain.tld -> our static IP.
If I now call the address subdomain.domain.tld:8008 from the road, I am forwarded to the web server without problems, but this no longer works as soon as I am back in the internal network.
Have I forgotten something?
Thanks in advance.