• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
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.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
    patelsaheb
    last edited by May 29, 2019, 12:59 PM

    Hello

    my scenario is like below
    have one local web server linux example ip is 192.168.1.111 i want to access it via wan ip of pfsense

    so how can i rules configure in pfsense
    any one have demo snapshot to follow same kind of scenario

    1 Reply Last reply Reply Quote 0
    • J
      johnpoz LAYER 8 Global Moderator
      last edited by johnpoz May 29, 2019, 1:01 PM May 29, 2019, 1:00 PM

      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.7.2, 24.11

      P 1 Reply Last reply May 29, 2019, 1:02 PM Reply Quote 0
      • P
        patelsaheb @johnpoz
        last edited by May 29, 2019, 1:02 PM

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

        thank you..

        1 Reply Last reply Reply Quote 0
        • J
          johnpoz LAYER 8 Global Moderator
          last edited by May 29, 2019, 1:03 PM

          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.7.2, 24.11

          P 1 Reply Last reply May 29, 2019, 1:09 PM Reply Quote 0
          • P
            patelsaheb @johnpoz
            last edited by May 29, 2019, 1:09 PM

            @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
            • J
              johnpoz LAYER 8 Global Moderator
              last edited by johnpoz May 29, 2019, 1:12 PM May 29, 2019, 1:10 PM

              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.7.2, 24.11

              1 Reply Last reply Reply Quote 0
              • S
                stephenw10 Netgate Administrator
                last edited by May 29, 2019, 3:25 PM

                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 May 30, 2019, 4:35 AM Reply Quote 0
                • P
                  patelsaheb @stephenw10
                  last edited by May 30, 2019, 4:35 AM

                  @stephenw10

                  please check snaps
                  thank you

                  1559190760145.JPEG 1559190760320.JPEG 1559190760394.JPEG

                  D 1 Reply Last reply May 30, 2019, 4:39 AM Reply Quote 0
                  • D
                    Derelict LAYER 8 Netgate @patelsaheb
                    last edited by Derelict May 30, 2019, 4:39 AM May 30, 2019, 4:39 AM

                    @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 May 30, 2019, 4:43 AM Reply Quote 0
                    • P
                      patelsaheb @Derelict
                      last edited by May 30, 2019, 4:43 AM

                      @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
                      • D
                        Derelict LAYER 8 Netgate
                        last edited by May 30, 2019, 4:44 AM

                        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 May 30, 2019, 4:47 AM Reply Quote 0
                        • P
                          patelsaheb @Derelict
                          last edited by May 30, 2019, 4:47 AM

                          @Derelict

                          Yes now its working perfect thank you.

                          1 Reply Last reply Reply Quote 0
                          • P
                            patelsaheb @Derelict
                            last edited by May 30, 2019, 4:49 AM

                            @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 May 30, 2019, 4:57 AM

                              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 May 30, 2019, 5:08 AM

                                Hello

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

                                1 Reply Last reply Reply Quote 0
                                • J
                                  johnpoz LAYER 8 Global Moderator
                                  last edited by May 30, 2019, 11:27 AM

                                  @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.7.2, 24.11

                                  1 Reply Last reply Reply Quote 0
                                  1 out of 16
                                  • First post
                                    1/16
                                    Last post
                                  Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                    This community forum collects and processes your personal information.
                                    consent.not_received