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

    Port Forward does not work..

    Scheduled Pinned Locked Moved Firewalling
    helpnatnat rulesfirewallfirewall rules
    71 Posts 5 Posters 13.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.
    • R
      root1ng LAYER 8 @johnpoz
      last edited by

      @johnpoz said in Port Forward does not work..:

      @root1ng you can do it either way.. But with something like this you could have a problem.. But if your hitting the wan IP from the inside and not seeing traffic being sent on - that would be due to no nat reflection setup.

      You might have to do a full proxy setup - not really a fan of nat reflection, its an abomination if you ask me ;)

      But problem is even if you reflect if the source IP is local to where your sending it, and that something answers directly back.. The client might say hey wait a minute - I sent this traffic to mac abc (its gateway) why is mac xyz answering me.. You can see this very easy with dns and redirection.. There are plenty of posts around here going over that specific scenario..

      But that really has nothing to do with plex doing the job of the port forward, but if you want plex to send the traffic to 1.6 when you hit your public IP from the lan side, that would need a nat reflection to be setup.

      I think I solved it and I hope I did the right thing, I changed the global settings, I'm attaching a picture below, is it okay?
      By the way, this is how I can connect with the public IP from LAN/WiFi.
      Without those two checked boxes I can't connect. (1:1 and outbound)

      Screenshot_12.png

      R 1 Reply Last reply Reply Quote 0
      • R
        root1ng LAYER 8 @root1ng
        last edited by

        @root1ng said in Port Forward does not work..:

        @johnpoz said in Port Forward does not work..:

        @root1ng you can do it either way.. But with something like this you could have a problem.. But if your hitting the wan IP from the inside and not seeing traffic being sent on - that would be due to no nat reflection setup.

        You might have to do a full proxy setup - not really a fan of nat reflection, its an abomination if you ask me ;)

        But problem is even if you reflect if the source IP is local to where your sending it, and that something answers directly back.. The client might say hey wait a minute - I sent this traffic to mac abc (its gateway) why is mac xyz answering me.. You can see this very easy with dns and redirection.. There are plenty of posts around here going over that specific scenario..

        But that really has nothing to do with plex doing the job of the port forward, but if you want plex to send the traffic to 1.6 when you hit your public IP from the lan side, that would need a nat reflection to be setup.

        I think I solved it and I hope I did the right thing, I changed the global settings, I'm attaching a picture below, is it okay?
        By the way, this is how I can connect with the public IP from LAN/WiFi.
        Without those two checked boxes I can't connect. (1:1 and outbound)

        Screenshot_12.png

        edit:
        But that's not good, I connect and my IP changes to 172.16.1.1 which is actually the pfSense gateway.
        Connecting with the public ip or dns I am assigned 172.16.1.1, if I connect with 172.16.1.6 I am assigned 172.16.1.5, I did something wrong..

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

          @root1ng said in Port Forward does not work..:

          But that's not good, I connect and my IP changes to 172.16.1.1 which is actually the pfSense gateway.

          Yeah, this is what NAT reflection does and what it has to do if it is enabled to avoid asymmetric traffic.

          if I connect with 172.16.1.6 I am assigned 172.16.1.5, I did something wrong.

          This connection doesn't pass pfSense, so it can do nothing on it, and it's also not necessary.

          R 1 Reply Last reply Reply Quote 1
          • R
            root1ng LAYER 8 @viragomann
            last edited by root1ng

            @viragomann said in Port Forward does not work..:

            @root1ng said in Port Forward does not work..:

            But that's not good, I connect and my IP changes to 172.16.1.1 which is actually the pfSense gateway.

            Yeah, this is what NAT reflection does and what it has to do if it is enabled to avoid asymmetric traffic.

            if I connect with 172.16.1.6 I am assigned 172.16.1.5, I did something wrong.

            This connection doesn't pass pfSense, so it can do nothing on it, and it's also not necessary.

            And what do you recommend? Should I leave Reflection off and connect with my local IP and the rest with the public one?

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

              @root1ng
              I recommend nothing regarding this. I didn't follow the whole thread and hence I don't know, why @johnpoz recommend to enable it.
              Does this make incoming teamspeak connections succeed?

              NAT reflection basically needed if you really need to access the public IP from inside the network and if you cannot use the FQDN with DNS host overrides for whatever reason.
              I don't expect that there is any change on incoming forwarded connections.

              The generated hidden outbound NAT rules should only be applied on traffic from another local subnet.

              R johnpozJ 2 Replies Last reply Reply Quote 1
              • R
                root1ng LAYER 8 @viragomann
                last edited by

                @viragomann said in Port Forward does not work..:

                Does this make incoming teamspeak connections succeed?

                Anyone outside my network can connect with the public IP, only I can't, but I don't mind connecting with the local one. I will stay like this for a while, it seems safer to me.

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

                  @viragomann said in Port Forward does not work..:

                  why @johnpoz recommend to enable it.

                  Because he stated its not working when hitting his public IP from inside his network - which of course it wouldn't unless you were doing nat reflection.

                  I personally think the function shouldn't even be available - its an abomination to all things networking ;) But if that is what he wants to do - it would never working hitting the public IP from the inside without 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

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

                    @johnpoz said in Port Forward does not work..:

                    Because he stated its not working when hitting his public IP from inside his network - which of course it wouldn't unless you were doing nat reflection.

                    I'd expect, that you would rather recommend to use a public FQDN with DNS host overrides to achieve this.
                    But yes, if this is not an option for what ever reason, we don't know, NAT reflection is the only way to achieve this.

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

                      @viragomann I would much rather suggest use a fqdn yes.. But his problem was based on ip and not seeing it.. Which he never would without nat reflection.

                      I was just troubleshooting his problem - not suggesting how he should setup his network.

                      But completely agree with you - in my multiple statements that nat reflection is an abomination ;) you should hit the local IP be that with IP or with a fqdn that resolves to your local IP when your local vs the public.

                      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

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

                        @johnpoz said in Port Forward does not work..:

                        But completely agree with you - in my multiple statements that nat reflection is an abomination

                        That's the way I know you. 😊

                        As I mentioned, I didn't read all posts and I missed the reason for doing NAT reflection.

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