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

    access local server via wan ip

    Scheduled Pinned Locked Moved General pfSense Questions
    16 Posts 4 Posters 1.3k 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.
    • johnpozJ
      johnpoz LAYER 8 Global Moderator
      last edited by johnpoz

      https://docs.netgate.com/pfsense/en/latest/nat/forwarding-ports-with-pfsense.html

      I assume you mean while your outside your network... And not while your actually on the same network - which would be nat reflection.

      An intelligent man is sometimes forced to be drunk to spend time with his fools
      If you get confused: Listen to the Music Play
      Please don't Chat/PM me for help, unless mod related
      SG-4860 24.11 | Lab VMs 2.8, 24.11

      P 1 Reply Last reply Reply Quote 0
      • P
        patelsaheb @johnpoz
        last edited by

        @johnpoz
        yes
        is there any snapshot to configure nat??

        thank you..

        1 Reply Last reply Reply Quote 0
        • johnpozJ
          johnpoz LAYER 8 Global Moderator
          last edited by

          Here is better doc link
          https://docs.netgate.com/pfsense/en/latest/book/nat/port-forwards.html

          With pictures!

          An intelligent man is sometimes forced to be drunk to spend time with his fools
          If you get confused: Listen to the Music Play
          Please don't Chat/PM me for help, unless mod related
          SG-4860 24.11 | Lab VMs 2.8, 24.11

          P 1 Reply Last reply Reply Quote 0
          • P
            patelsaheb @johnpoz
            last edited by

            @johnpoz

            have configured same but not able to open

            have one floating rule added on 80 and have access pfsense in local via 80 port
            currently on wan ip ip pfsense open.
            so is there any problem?

            1 Reply Last reply Reply Quote 0
            • johnpozJ
              johnpoz LAYER 8 Global Moderator
              last edited by johnpoz

              https://docs.netgate.com/pfsense/en/latest/nat/port-forward-troubleshooting.html

              First thing I would start with is sniff on your wan to validate the traffic is actually hitting your wan IP from the internet.. canyouseeme.org is great for this sort of test.

              You should really just let the nat (port forward) create the wan rule for you - which is the default.

              An intelligent man is sometimes forced to be drunk to spend time with his fools
              If you get confused: Listen to the Music Play
              Please don't Chat/PM me for help, unless mod related
              SG-4860 24.11 | Lab VMs 2.8, 24.11

              1 Reply Last reply Reply Quote 0
              • stephenw10S
                stephenw10 Netgate Administrator
                last edited by

                Show us a screenshot of your port forward rules and WAN firewall rules if it's still not working.

                Steve

                P 1 Reply Last reply Reply Quote 0
                • P
                  patelsaheb @stephenw10
                  last edited by

                  @stephenw10

                  please check snaps
                  thank you

                  1559190760145.JPEG 1559190760320.JPEG 1559190760394.JPEG

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

                    @patelsaheb Don't set a source port.

                    You don't need floating rules. delete them.

                    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)

                    P 1 Reply Last reply Reply Quote 0
                    • P
                      patelsaheb @Derelict
                      last edited by

                      @Derelict
                      have removed source port still not able to access
                      can you please check floating rules which was shared in snaps

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

                        No floating rules are necessary. Don't over-think 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)

                        P 2 Replies Last reply Reply Quote 0
                        • P
                          patelsaheb @Derelict
                          last edited by

                          @Derelict

                          Yes now its working perfect thank you.

                          1 Reply Last reply Reply Quote 0
                          • P
                            patelsaheb @Derelict
                            last edited by

                            @Derelict

                            can you check snap is it correct or not?Screenshot from 2019-05-30 10-19-20.png

                            1 Reply Last reply Reply Quote 0
                            • P
                              patelsaheb
                              last edited by

                              Hello

                              how can i access 3389 port of local server over the wan ip remotely..
                              also want to open few port that can access over remote via wan ip.

                              thank you..

                              1 Reply Last reply Reply Quote 0
                              • P
                                patelsaheb
                                last edited by

                                Hello

                                Is there any way that i can access wan ip from my local network

                                1 Reply Last reply Reply Quote 0
                                • johnpozJ
                                  johnpoz LAYER 8 Global Moderator
                                  last edited by

                                  @patelsaheb said in access local server via wan ip:

                                  Is there any way that i can access wan ip from my local network

                                  Why would you need to do that, just access the local IP.. setup a host override to resolve whatever fqdn you want to the local IP vs doing nat reflection.

                                  If you insist on doing such nonsense - then you have to enable and setup nat reflection.

                                  An intelligent man is sometimes forced to be drunk to spend time with his fools
                                  If you get confused: Listen to the Music Play
                                  Please don't Chat/PM me for help, unless mod related
                                  SG-4860 24.11 | Lab VMs 2.8, 24.11

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