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

    Remote access - what am I doing wrong?

    Scheduled Pinned Locked Moved General pfSense Questions
    19 Posts 7 Posters 3.0k 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.
    • K Offline
      kejianshi
      last edited by

      "Why do you have a source port specified?" - Good question…

      Meaning it probably should be "any"

      1 Reply Last reply Reply Quote 0
      • L Offline
        lockheed
        last edited by

        @kejianshi:

        No idea…  This is probably dumb idea, but why don't you try forwarding an outside port to your LAN IP?

        For instance forward port 8081 to LANip:443    (or which ever port you run your gui on)

        BTW - I consider exposing your gui to the open internet a bad idea, but sure...  have at it.

        I tried it, doesn't work.
        BTW - most of the time, I need to access the firewall form outside the LAN.

        @Derelict:

        Why do you have a source port specified?  You had to click Advanced then ignore the text presented to do so.  Why would you do that?

        Because I need to specify which incoming port need to be forwarded to which destination port?

        @ptt:

        https://doc.pfsense.org/index.php/Remote_firewall_Administration

        That was the first thing I tried.

        1 Reply Last reply Reply Quote 0
        • DerelictD Offline
          Derelict LAYER 8 Netgate
          last edited by

          Because I need to specify which incoming port need to be forwarded to which destination port?

          You are confusing NAT port forwards with firewall rules.  Like the text says, this is "almost never the same as the destination port and is usually any"

          Make it so.

          Chattanooga, Tennessee, USA
          A comprehensive network diagram is worth 10,000 words and 15 conference calls.
          DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
          Do Not Chat For Help! NO_WAN_EGRESS(TM)

          1 Reply Last reply Reply Quote 0
          • J Offline
            jonesr
            last edited by

            The short version of what I would have posted is "+1 Derelict", I wasn't fast enough  :)

            Have a look at the firewall log for the entry that actually blocks your traffic. It should show a destination of port 8081 as you expect, but the source should be a high port number. This is random, so don't open this one port for the source either, set it to "any" as advised.

            pfSense AMD64 VGA - Assume latest version.
            Suricata, pfBlockerNG, SquidGuard, squid3.

            1 Reply Last reply Reply Quote 0
            • L Offline
              lockheed
              last edited by

              @Derelict:

              Because I need to specify which incoming port need to be forwarded to which destination port?

              You are confusing NAT port forwards with firewall rules.  Like the text says, this is "almost never the same as the destination port and is usually any"

              Make it so.

              Done. Still no external access.

              1 Reply Last reply Reply Quote 0
              • DerelictD Offline
                Derelict LAYER 8 Netgate
                last edited by

                PM me with your public IP address.

                Chattanooga, Tennessee, USA
                A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                Do Not Chat For Help! NO_WAN_EGRESS(TM)

                1 Reply Last reply Reply Quote 0
                • DerelictD Offline
                  Derelict LAYER 8 Netgate
                  last edited by

                  It's working fine.  Tell us exactly how you're testing it.

                  Chattanooga, Tennessee, USA
                  A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                  DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                  Do Not Chat For Help! NO_WAN_EGRESS(TM)

                  1 Reply Last reply Reply Quote 0
                  • L Offline
                    lockheed
                    last edited by

                    Well, I type into the browser this address:

                    Public IP:8081

                    EDIT: I do this from within the LAN.

                    1 Reply Last reply Reply Quote 0
                    • DerelictD Offline
                      Derelict LAYER 8 Netgate
                      last edited by

                      From where?

                      Chattanooga, Tennessee, USA
                      A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                      DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                      Do Not Chat For Help! NO_WAN_EGRESS(TM)

                      1 Reply Last reply Reply Quote 0
                      • DerelictD Offline
                        Derelict LAYER 8 Netgate
                        last edited by

                        Then you need rules on LAN permitting it.

                        ETA: And you wouldn't be testing your WAN rules so…

                        Chattanooga, Tennessee, USA
                        A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                        DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                        Do Not Chat For Help! NO_WAN_EGRESS(TM)

                        1 Reply Last reply Reply Quote 0
                        • BBcan177B Offline
                          BBcan177 Moderator
                          last edited by

                          If you want to test a wan nat port, you can test it from your mobile phone (with wifi off).

                          http(s)://x.x.x.x:8081
                          Change the x's to your wan IP address

                          "Experience is something you don't get until just after you need it."

                          Website: http://pfBlockerNG.com
                          Twitter: @BBcan177  #pfBlockerNG
                          Reddit: https://www.reddit.com/r/pfBlockerNG/new/

                          1 Reply Last reply Reply Quote 0
                          • L Offline
                            lockheed
                            last edited by

                            @Derelict:

                            Then you need rules on LAN permitting it.

                            Thanks, but I will need help with that, too.

                            I create a rule for that, but it does not work:

                            1 Reply Last reply Reply Quote 0
                            • DerelictD Offline
                              Derelict LAYER 8 Netgate
                              last edited by

                              https://doc.pfsense.org/index.php/Firewall_Rule_Troubleshooting

                              Chattanooga, Tennessee, USA
                              A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                              DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                              Do Not Chat For Help! NO_WAN_EGRESS(TM)

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

                                Stop "testing" WAN access from LAN. Just utterly pointless. You are debugging non-existent problem:

                                @Derelict:

                                It's working fine.  Tell us exactly how you're testing it.

                                1 Reply Last reply Reply Quote 0
                                • L Offline
                                  lockheed
                                  last edited by

                                  Thanks for your help guys. I learnt something new today.

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