Browsing website problem



  • 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.



  • 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.


  • 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?? :(  :(


  • Banned

    You should NOT uncheck the NAT reflection.


  • Netgate Administrator

    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


  • Banned

    @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


  • Netgate Administrator

    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



  • 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.



  • Netgate Administrator

    Did you reset the firewall states/reboot?

    Steve



  • 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??


  • Netgate Administrator

    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


Log in to reply