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

    Browsing website problem

    Scheduled Pinned Locked Moved General pfSense Questions
    11 Posts 4 Posters 2.3k 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.
    • H
      hossam.khalili
      last edited by

      Hello everyone,

      the Domain name for my company is MyCompany.local and my website is MyCompany.org, and we the site is hosted on my lan address with IP 10.0.0.2, and i can ping it, my problem is if i try to browse my website from outside the company the website is working, but if i try to browse it form inside the company is not working.
      the environment here
      Windows Domain server 2008 r2 and DNS
      Pfsense 2.0.3-RELEASE (amd64)
      webserver Centos 6

      please any suggestion
      many thanks.

      1 Reply Last reply Reply Quote 0
      • P
        phil.davis
        last edited by

        Either:

        1. Put an entry in your internal DNS for www.MyCompany.org that translates to the internal (private) IP address of the web server (10.0.0.2) - then internal users will go straight there internally; or
        2. System-Advanced-Firewall/NAT - enable NAT reflection, to get pfSense to "turn around" those accesses to the external public IP.

        As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
        If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

        1 Reply Last reply Reply Quote 0
        • H
          hossam.khalili
          last edited by

          thank you for fast reply,

          actually i did that also, on DNS server i put *.mycompany.com and www.mycompany.com and i uncheck the NAT Reflection for port forwards but nothing changed, also before minutes i connect a laptop directly to webserver and i try to browse, and the same thing appear "the main page appear but messy" .

          what should i do now?? :(  :(

          1 Reply Last reply Reply Quote 0
          • D
            doktornotor Banned
            last edited by

            You should NOT uncheck the NAT reflection.

            1 Reply Last reply Reply Quote 0
            • stephenw10S
              stephenw10 Netgate Administrator
              last edited by

              Confusingly you should uncheck the box because unchecking it enables NAT reflection.  ;)
              (the box, in System: Advanced: Firewall/NAT:, is labelled 'disable NAT reflection')

              Then reset the firewall states (or reboot).

              Steve

              1 Reply Last reply Reply Quote 0
              • D
                doktornotor Banned
                last edited by

                @stephenw10:

                Confusingly you should uncheck the box because unchecking it enables NAT reflection.  ;)
                (the box, in System: Advanced: Firewall/NAT:, is labelled 'disable NAT reflection)

                Call me confused… No such thing on 2.1 :D

                1 Reply Last reply Reply Quote 0
                • stephenw10S
                  stephenw10 Netgate Administrator
                  last edited by

                  Ouch even more confusing.  ::)
                  In 2.0.3 it's the inverse! It's far more configurable in 2.1 so I guess a lot changed, not unreasonably.

                  Steve

                  1 Reply Last reply Reply Quote 0
                  • H
                    hossam.khalili
                    last edited by

                    thank you everyone.
                    this is what i did "remove the check box", but as i told you nothing changed and the website still not working from inside company.

                    aa.png
                    aa.png_thumb

                    1 Reply Last reply Reply Quote 0
                    • stephenw10S
                      stephenw10 Netgate Administrator
                      last edited by

                      Did you reset the firewall states/reboot?

                      Steve

                      1 Reply Last reply Reply Quote 0
                      • H
                        hossam.khalili
                        last edited by

                        yes i did, but i found other issue, the DNS server can't see the webserver, i tried to bing from DNS and the result was "request time out". but the webserver can see DNS server.

                        DNS server 192.168.1.2  mask 255.255.0.0
                        web server 10.0.0.2        mask 255.255.255.0

                        so how can we fix that??

                        1 Reply Last reply Reply Quote 0
                        • stephenw10S
                          stephenw10 Netgate Administrator
                          last edited by

                          So you're not using pfSense for DNS then?
                          Have you flushed any DNS cache, locally or at the server?
                          If you ping the web server by URL what address does it try to ping?

                          Steve

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