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

    Problema DNS o loopback?

    Italiano
    2
    6
    668
    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.
    • A
      andreapontic
      last edited by

      Salve ragazzi, mi si presenta la seguente problematica, ho messo su una macchina ThinClient con pfsense con singola NIC gigabit, ho creato sullo switch 2 VLAN di cui una dedicata al collegamento di pfsense con la WAN e il modem tim in modalità bridge, tutto funziona a meraviglia, ho creato la regola di NAT per accedere al mio webserver sulla porta 80 interna (8012 esterna) e la relativa regola sul firewall e fin qui tutto ok, riesco ad accedere dall'esterno senza problemi utilizzando il mio dns (xxxxx.ddns.net), il nat funziona ma qui arriva il problema, se utilizzo il dns (xxxxx.ddns.net) dalla mia rete interna questo non viene risolto, la pagina del webserver non viene caricata, riesco ad accedere al webserver utilizzando l'indirizzo della lan, secondo voi è un problema di loopback oppure è pfsense che non riesce a risolvere il dns dall'interno della lan?

      1 Reply Last reply Reply Quote 0
      • kiokomanK
        kiokoman LAYER 8
        last edited by kiokoman

        non può funzionare in quel modo, quel ddns.net funziona solo dall'esterno della tua rete, eventualmente con dns forwarder o dns resolver puoi impostare "host overrides" dove metti come host xxx come dominio ddns.net e come ip l'indirizzo dell'interfaccia LAN interna di pfsense (esempio: 192.168.X.X)

        https://docs.netgate.com/pfsense/en/latest/nat/accessing-port-forwards-from-local-networks.html

        ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
        Please do not use chat/PM to ask for help
        we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
        Don't forget to Upvote with the 👍 button for any post you find to be helpful.

        1 Reply Last reply Reply Quote 0
        • A
          andreapontic
          last edited by

          Ho provato sia il resolver che il forwarder ma il problema persiste, non riesco a raggiungere il dns da rete locale, prima senza firewall funzionava, non capisco perchè non riesce a risolverlo.

          1 Reply Last reply Reply Quote 0
          • kiokomanK
            kiokoman LAYER 8
            last edited by

            devi inserire l'host override,

            1548615205229-13ed705a-a0da-4088-8d0b-dee6b6d87c31-imagen.png

            devi assicurarti che i client e pfsense usino solo ed esclusivamente il dns forwarder o dns resolver

            https://forum.netgate.com/topic/151437/access-host-on-the-lan-using-public-ip/19
            https://forum.netgate.com/topic/151437/access-host-on-the-lan-using-public-ip/20

            ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
            Please do not use chat/PM to ask for help
            we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
            Don't forget to Upvote with the 👍 button for any post you find to be helpful.

            1 Reply Last reply Reply Quote 0
            • A
              andreapontic
              last edited by

              certo, avevo inserito l'host override, provo forzando i dns, grazie mille

              1 Reply Last reply Reply Quote 0
              • A
                andreapontic
                last edited by

                Benissimo funziona, ho lasciato solo 127.0.0.1 è il DNS viene risolto correttamente. Grazie mille

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