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

    Accessing Port Forwards from Local Networks

    Scheduled Pinned Locked Moved NAT
    13 Posts 5 Posters 678 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.
    • RicoR
      Rico LAYER 8 Rebel Alliance
      last edited by

      https://docs.netgate.com/pfsense/en/latest/nat/accessing-port-forwards-from-local-networks.html

      -Rico

      1 Reply Last reply Reply Quote 2
      • R
        rahim
        last edited by rahim

        Hi Rico
        Thanks for reply but this not works for me is their any alternative solution I have not DNS name for Kaspersky I uses IP address for connectivity.

        Thanks

        V 1 Reply Last reply Reply Quote 0
        • V
          viragomann @rahim
          last edited by

          @rahim
          Have you tried the NAT Reflection method?

          You can enable NAT Reflection also in the NAT rule for 14000. Try out "pure NAT", if that doesn't work try "NAT + proxy".

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

            @rahim said in Accessing Port Forwards from Local Networks:

            Kaspersky I uses IP address for connectivity.

            Why would you do that? Use a fqdn, so you don't have to touch every single machine if your public IP happens to change..

            There are plenty of FREE dynamic dns options, if you don't actually own a domain. But at a loss to how a place of business doesn't have a $10 a year domain they could use.. There are plenty of free and not free services to do ddns with your own domain.

            Or you can just set this fqdn to point to your IP statically.. Since how often does it change?

            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

            R 1 Reply Last reply Reply Quote 0
            • R
              rahim @viragomann
              last edited by

              @viragomann Yes I try NAT Reflection method but not work well for me.

              1 Reply Last reply Reply Quote 0
              • R
                rahim @johnpoz
                last edited by

                @johnpoz Thank you but their is problem with free DNS or paid DNS our IS team are not allowed us to do this because its compromise for system these type of free dns leaks the information which is not good for us thats why I try to resolve this issue by using pfsense.

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

                  What? You buy a domain lets call it domainX.tld - and you point that to your IP.. How does that compromise anything? The whois info to who owns that domain can be hidden.. It only points to an IP..

                  Every company on the planet has this info out there.. Who are you hiding from?

                  If you want to hit ip 1.2.3.4 which is your public IP while your internal, then nat reflection is how you do that.. If your saying its not working - then show us what you setup so we can help you figure out what your doing wrong.

                  Are you behind a double nat, if so nat reflection would have to be done at the box that has the wan IP on it, if that is in front of pfsense.

                  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
                  • R
                    rahim
                    last edited by

                    @johnpoz Thank you so much for your valuable suggestion NAT reflection works for me i use (NAT+Proxy) setting this option resolve my issue.
                    Thanks to all help me out @Rico @viragomann

                    1 Reply Last reply Reply Quote 1
                    • RicoR
                      Rico LAYER 8 Rebel Alliance
                      last edited by

                      Glad you have it working now.

                      -Rico

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

                        If its working and your happy, then all is good.. But such a setup is not the "correct" way ;)

                        It makes no sense to send traffic to your wan IP, just to be hairpinned back to hit the IP sitting next to you on the lan..

                        Its like you want to go the dining room from the kitchen in your house - but hey lets go out the front door and back in to get there ;)

                        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
                          pi @johnpoz
                          last edited by

                          @johnpoz said in Accessing Port Forwards from Local Networks:

                          Its like you want to go the dining room from the kitchen in your house - but hey lets go out the front door and back in to get there ;)

                          Good point

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

                            And then hey when want to go back to the kitchen - back to the front door ;)

                            In the big picture prob doesn't matter all that much, unless your moving a lot of traffic. But it sure is not the "optimal" sort of setup..

                            Why would you want to do that?

                            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.