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

    How to access pfsense box remotely when behind a router?

    Scheduled Pinned Locked Moved Firewalling
    11 Posts 4 Posters 4.1k 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
      hoba
      last edited by

      http://faq.pfsense.com/index.php?action=artikel&cat=10&id=41&artlang=en&highlight=webgui%20wan
      Additional to this you need to make sure that your router forwards traffic to your pfSense. Easiest option is to set the pfSense WAN IP as DMZ host in the router. Then you can configure it once and forget about it for future portforwards.

      There is no feature to send mails on IP changes in pfSense.

      1 Reply Last reply Reply Quote 0
      • dotdashD
        dotdash
        last edited by

        There is a FreeBSD port of dhclient (http://ddclient.sourceforge.net/)
        That being said I haven't used it in years and don't even know if it would install correctly on pfSense.
        (edit: I meant ddclient)

        1 Reply Last reply Reply Quote 0
        • H
          hoba
          last edited by

          pfSense can do dyndns updates (services>dyndns). It just can't send mails about the changes.

          1 Reply Last reply Reply Quote 0
          • H
            hadi57
            last edited by

            hi

            thank you guys, ill work this out tomorrow and see how i can apply it.

            hadi57

            1 Reply Last reply Reply Quote 0
            • H
              hadi57
              last edited by

              hi hoba

              i did try, but i think i did it wrong, i put the lan ip of pfbox on the dmz host, then i try to access with the public ip given to the router by the isp, but i couldnt,  i only managed to access the us robotic status page can u please give me some more details and step by step how to?

              many thanks

              hadi57

              1 Reply Last reply Reply Quote 0
              • H
                hoba
                last edited by

                If I get you right the WAN IP of your pfSense is not the real public IP. In that situation the dyndns updater won't work for you as pfSense updates it's current WAN IP to the service.

                1 Reply Last reply Reply Quote 0
                • H
                  hadi57
                  last edited by

                  hi

                  yes my wan ip of pfsense is not public ip, it is getting its ip from the dsl router

                  hadi57

                  1 Reply Last reply Reply Quote 0
                  • H
                    hoba
                    last edited by

                    Then check if this router supports dyndns or use one of the clients available from the dyndns service providers that check their seen IP frequently against an external server.

                    1 Reply Last reply Reply Quote 0
                    • H
                      hadi57
                      last edited by

                      hi

                      guess what hoba, it worked. this morning i try to access the router public ip and here i am i found my slef inside my pfsense box  :D

                      is there a way to access the modem now since it disconnect some times and need to reboot it, i dont know why this is hapening. according to my isp could be server hanging at isp or line disconnect from telephone co.

                      all i have to do now is find a way to make pfsense mail me the router's public ip every time it changes, so i can access my pfsense box at any time.

                      thank you very much

                      hadi57

                      1 Reply Last reply Reply Quote 0
                      • J
                        jeroen234
                        last edited by

                        whats the mail for ???
                        dyndns is taking care of that

                        wlelystad.homeip.net is my dyndns and if my ip chances i will not note that
                        the url is still the same as before the ip chance

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