Odd log message
-
Found this in the system log. Can anyone explain what this means?
2022/11/05 19:42:41 [error] 50518#100120: *309 open() "/usr/local/www/.env" failed (2: No such file or directory), client: 109.237.98.226, server: , request: "GET /.env HTTP/1.1", host: "<my_IP_addr>"
-
@axxxxe would seem you have your gui open to the internet.. I doubt that 209 address inside your network?
When you open up a web server to the internet, all kinds of stuff will get requested, normally looking for exploitable stuff.
Not a good idea to expose the pfsense gui to the public internet.
-
Can you tell me how to disable this? I just went through a lot of effort making sure nginx could bind to WAN port 443 per this thread:
https://forum.netgate.com/topic/175661/sg-3100-rebooting/21
Edit: I think maybe I found the issue. I recently deleted an OVPN server that was listening on WAN port 443. Just realized I never deleted the associated pass rule
Pass rule is now gone.
-
@axxxxe If you wnat to use 443 for your proxy, change the web gui port to something else. I use 8443 for mine for example. I have openpn and haproxy that use 443.
-
-
@stephenw10 yup use that if its not openvpn it sends it to the port that haproxy is listening on.
port-share 127.0.0.1 9443