I have been trying to get a specific webpage hosted on our internal webserver to be accessible externally. I use pfSense for my firewall and it seems to be passing the request as the log file shows it passing the external request to the internal server address.
I have configured this specific external website on port 12345 (as example) by adding
Listen 12345 to the apache config
I then added
NameVirtualHost *:12345
<virtualHost *:12345>
DocumentRoot /var/www/site
ServerName internal.server.name
ServerAlias site site.server.name:12345 external_IP
</VirtualHost>
I have also added a DNS entry to make site.server.name point to external_IP which resolves properly
Internally I can access the site by typing internal.server.name. Externally, I have tried to access using external_IP:12345 and site.server.name:12345 and both give me a page can not be displayed.
Is there something I'm missing? (which may be in my firewall config, but that log file says it is passing the information from my external IP to the internal server IP on port 12345) or some suggestions as how to troubleshoot this problem? I have looked at the Apache log files and don't see any access to them when trying to access externally, but do see them serving information out when in the local instance.
Thanks