Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Problem Since upgrade to 2.3

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    11 Posts 3 Posters 2.8k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • johnpozJ
      johnpoz LAYER 8 Global Moderator
      last edited by

      how would nginx on pfsense have anything to do what so ever with apache running on your webserver??

      How do you thinking running httpd whatever on box 1 has anything to do with running httpd somethingelse on another??

      An intelligent man is sometimes forced to be drunk to spend time with his fools
      If you get confused: Listen to the Music Play
      Please don't Chat/PM me for help, unless mod related
      SG-4860 24.11 | Lab VMs 2.8, 24.11

      1 Reply Last reply Reply Quote 0
      • G
        gregfox
        last edited by

        I can't answer yours questions but i did a test , i restored a pfsense backup on version 2.2 (same config) and it's working.
        None of my servers are running Nginx so when i saw this error on the cached files i found that pfsense  replaced his webserver (lighthttpd) by Nginx on version 2.3 (hummm…).
        Maybe Pfense is running also as a reverse ?

        1 Reply Last reply Reply Quote 0
        • G
          gregfox
          last edited by

          Is it possible to stop the service Nginx and test my website to see if i have the same error

          1 Reply Last reply Reply Quote 0
          • johnpozJ
            johnpoz LAYER 8 Global Moderator
            last edited by

            are you running proxy on pfsense?

            An intelligent man is sometimes forced to be drunk to spend time with his fools
            If you get confused: Listen to the Music Play
            Please don't Chat/PM me for help, unless mod related
            SG-4860 24.11 | Lab VMs 2.8, 24.11

            1 Reply Last reply Reply Quote 0
            • G
              gregfox
              last edited by

              none

              1 Reply Last reply Reply Quote 0
              • johnpozJ
                johnpoz LAYER 8 Global Moderator
                last edited by

                pfsense does not do anything with nginx on port forward… How exactly are you access this webserver behind pfsense?  From where?

                You have not packages installed?

                An intelligent man is sometimes forced to be drunk to spend time with his fools
                If you get confused: Listen to the Music Play
                Please don't Chat/PM me for help, unless mod related
                SG-4860 24.11 | Lab VMs 2.8, 24.11

                1 Reply Last reply Reply Quote 0
                • G
                  gregfox
                  last edited by

                  I have Pfsense as a Vm on Esxi. 3 Networks Wan/DMZ/LAN. Pfsense have 3 Interfaces attached to each network.
                  I have a virtual IP (Ip ALias Type) and connect it to my server through Nat 1:1 and enable Manual Outbound Nat
                  Here the list of the package installed

                  • Open-VM-Tools
                  • openvpn-client-export
                  • Shellcmd
                  1 Reply Last reply Reply Quote 0
                  • J
                    JorgeOliveira
                    last edited by

                    I might know what the problem is.

                    AFAIK, the only possibility I can think of is WP-Rocket requesting resources to modify (js, css…) by "visiting" your site from inside of the network (Server > Network > Server), it's odd if you ask me, but it's the way I've seen similar plugins doing it.

                    Example Setup:
                    Your site is hosted on your internal network at 192.168.1.100, your public IP address is 203.0.113.1 and your website domain is pointing to external IP.

                    What happens:
                    WP-Rocket on 192.168.1.100 queries your website (203.0.113.1) but... NAT reflection does not happen, leading it to query pfSense's webGUI and then webGUI redirects from port 80 to 443 (thereby the 301 Moved Permanently page).

                    My advise? If this proves to be the case, I don't recommend using plugins with such broken coding design.

                    You still want to do that? Enable NAT Reflection.

                    System > Advanced, Firewall/NAT tab
                    NAT Reflection mode for port forwards: pure NAT
                    Enable NAT Reflection for 1:1 NAT: Checked
                    Enable automatic outbound NAT for Reflection: Checked

                    Good luck ;)

                    My views have absolutely no warranty express or implied. Always do your own research.

                    1 Reply Last reply Reply Quote 0
                    • johnpozJ
                      johnpoz LAYER 8 Global Moderator
                      last edited by

                      why do you need nat reflection.. Your site is trying to access something via its own name your local dns should resolve that name to its rfc1918 IP..  There is never a reason for nat reflection other than misconfiguration or lack of proper local name resolution.

                      An intelligent man is sometimes forced to be drunk to spend time with his fools
                      If you get confused: Listen to the Music Play
                      Please don't Chat/PM me for help, unless mod related
                      SG-4860 24.11 | Lab VMs 2.8, 24.11

                      1 Reply Last reply Reply Quote 0
                      • G
                        gregfox
                        last edited by

                        I finally found the option to make it work  :D.
                        I configured the virtual IP as "Proxy Arp" and not "Ip Alias "

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post
                        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.