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

    Webgui access through wan

    Scheduled Pinned Locked Moved Firewalling
    17 Posts 7 Posters 18.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.
    • P Offline
      podilarius
      last edited by

      Are you trying access the fw from within the LAN to the WAN ip? The rule looks good, but if you are trying to access the WAN using a private IP or a bogon address, there are 2 default rules that block them out. You should not need to use port forward.

      1 Reply Last reply Reply Quote 0
      • M Offline
        Mazzokun
        last edited by

        I have the same problem,
        I want to access the webgui by wan. In fact wan is connected to a router where there are connect other pc's and I would to access web-gui from them..
        I created the same rule, by following the tutorial in the doc pfSense, I disabled the two rules that block private networks, but I just can not access it ..
        No idea?
        Please HELP  :-\

        1 Reply Last reply Reply Quote 0
        • N Offline
          nexusN
          last edited by

          @JackPatafiole:

          Hello

          PFsense 2.01
          I try to access webguy through wan (static address).
          I've configured webguy with https port 5555.
          I've added firewall rule:
          pass
          interface wan
          tcp
          source any
          source port range any
          destination wanaddress
          destination port range 5555 to 5555

          But i still can't access webguy through wan.

          Should I add port forwarding ?

          Thank you

          Jack

          In my case, it just works by setting a NAT like this:

          1 Reply Last reply Reply Quote 0
          • chpalmerC Offline
            chpalmer
            last edited by

            You dont need to nat.

            destination port range 5555 to 5555

            Rule should be from any port to 5555 in your case.

            Triggering snowflakes one by one..
            Intel(R) Core(TM) i5-4590T CPU @ 2.00GHz on an M400 WG box.

            1 Reply Last reply Reply Quote 0
            • M Offline
              Mazzokun
              last edited by

              PFsense 2.01
              I try to access webguy through wan (static address).
              I've configured webguy with https port 553.
              I've added firewall rule:
              pass
              interface wan
              tcp
              source any
              source port range any
              destination wanaddress
              destination port range any

              deflag block private networks, block bogon networks

              Still can't access webguy through wan.
              Where is the problem?? ???

              1 Reply Last reply Reply Quote 0
              • N Offline
                nexusN
                last edited by

                @Mazzokun:

                PFsense 2.01
                I try to access webguy through wan (static address).
                I've configured webguy with https port 553.
                I've added firewall rule:
                pass
                interface wan
                tcp
                source any
                source port range any
                destination wanaddress
                destination port range any

                deflag block private networks, block bogon networks

                Still can't access webguy through wan.
                Where is the problem?? ???

                How did you try to enter the webgui through WAN?
                Simply WAN IP or a no-ip domain?

                1 Reply Last reply Reply Quote 0
                • M Offline
                  Mazzokun
                  last edited by

                  I'd like to enter the webgui through WAN IP.
                  The WAN ip is 192.168.1.1 and the https port is 553.
                  I'll post some screens of my webgui..
                  They might be more clear than me  :-
                  http://dl.dropbox.com/u/28376825/pfsense/firewall%20adv..png
                  http://dl.dropbox.com/u/28376825/pfsense/Immagine.png
                  http://dl.dropbox.com/u/28376825/pfsense/nat.png
                  http://dl.dropbox.com/u/28376825/pfsense/screen%20firewall.png
                  http://dl.dropbox.com/u/28376825/pfsense/screen.png
                  http://dl.dropbox.com/u/28376825/pfsense/screenwan.png

                  1 Reply Last reply Reply Quote 0
                  • chpalmerC Offline
                    chpalmer
                    last edited by

                    So- you have a dsl modem doing nat also…  Are you sure thats port forwarding your port correctly?

                    Triggering snowflakes one by one..
                    Intel(R) Core(TM) i5-4590T CPU @ 2.00GHz on an M400 WG box.

                    1 Reply Last reply Reply Quote 0
                    • M Offline
                      Mazzokun
                      last edited by

                      no I have only a router that do dhcp. I haven't configure his NAT.
                      This is my network diagram (sorry my bad handwriting  :'( )

                      I want to access to pfsense from PC 1or2 through WAN
                      Where is my mistake  ???
                      Thank you
                      David

                      1 Reply Last reply Reply Quote 0
                      • marcellocM Offline
                        marcelloc
                        last edited by

                        If you do not have a nat rule created to forward 553 to another host, check if this port does not conflicts with any other service running on this machine.

                        One test you can do is remove gateway from wan and use default routing table.

                        Treinamentos de Elite: http://sys-squad.com

                        Help a community developer! ;D

                        1 Reply Last reply Reply Quote 0
                        • C Offline
                          cmb
                          last edited by

                          are you seeing it blocked in the firewall logs?

                          The only thing you need is the firewall rule you described in your first post, and to disable block private networks on that interface. But if you have a 1:1 NAT on your WAN IP or port forward configured that overlaps with that, it will override the ability to access the firewall directly.

                          1 Reply Last reply Reply Quote 0
                          • M Offline
                            Mazzokun
                            last edited by

                            I changed the port number and now it works!!! ;D ;D ;D
                            Thank you very very much guys !!! :D

                            1 Reply Last reply Reply Quote 0
                            • M Offline
                              Mazzokun
                              last edited by

                              Hi guys,I know that I'm off-topic but I have an other question, now from wifi I can ping to PC1 and 2.
                              How I have to do to block it?
                              Thanks

                              1 Reply Last reply Reply Quote 0
                              • marcellocM Offline
                                marcelloc
                                last edited by

                                On lan firewall tab, create a rule That deny access to pc1 and pc2 ip.

                                Treinamentos de Elite: http://sys-squad.com

                                Help a community developer! ;D

                                1 Reply Last reply Reply Quote 0
                                • M Offline
                                  Mazzokun
                                  last edited by

                                  Thank you, I am a noob XD :)
                                  But.. If I don't whant that pc on LAN interface can ping any other pc behind wan interface?

                                  1 Reply Last reply Reply Quote 0
                                  • marcellocM Offline
                                    marcelloc
                                    last edited by

                                    @Mazzokun:

                                    But.. If I don't whant that pc on LAN interface can ping any other pc behind wan interface?

                                    From lan to lan(on same network segment) machines can communicate without passing through firewall.

                                    Take a look on pfsense book and doc.pfsense.org it will help you on first steps.

                                    Treinamentos de Elite: http://sys-squad.com

                                    Help a community developer! ;D

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