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

    NAT Reflection, Which one to use?

    Scheduled Pinned Locked Moved NAT
    7 Posts 4 Posters 871 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.
    • V
      veldthui
      last edited by

      Trying to get my internal devices working to hook into my exchange server. Using an iPad mail program to read my mails via exchange server. From what I have seen in videos I should be using Pure Nat but this is not working. If I use NAT and Proxy it works. Should I be using the NAT and Proxy or Pure NAT and if Pure NAT how do I get it to work?

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

        You should never use NAT reflection.. Unless you are forced too because some nonsense software hard coded an IP.. that is your public IP.. If your using dns - then you can just have your local dns resolve the fqdn to the actual local IP when your local.

        If you are using nat reflection then who ever wrote your software hard coding IP should be taken out back, not even given a cig or a blindfold and shot ;)

        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

        N V 2 Replies Last reply Reply Quote 0
        • N
          netblues @johnpoz
          last edited by

          @johnpoz Don't be so harsh about nat reflection. It is nice sometimes.
          Eg mobile mail clients. When the laptop is away it reaches mail server as
          mymail.mycompany.com.
          If I don't have/use split dns then it won't work.
          And on top of that, what if someone has configured google dns, or even worse, has the mail ip on the configuration...
          Perhaps a gilotine must be installed at the backyard and all personell occurrences dealt with promptly.
          But I will need to convince the management first.

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

            Using a mobile phone and iPad. The mobile phone works if I am outside my house away from my WiFi but once it hooks to my WiFi without NAT reflection on it wont connect. I have my phone set to use my dyndns FQDN and also my iPad. Outside of the internal works perfectly. Inside connected to the internal WiFi it doesn't. No hard coded IP's in the software. The Exchange server has a static IP and the incomming 443 connection to it is NAT Port forwarded to the IP of the exchange server.
            The port forwarding is why I assume it needs the NAT relection to work.

            N 1 Reply Last reply Reply Quote 0
            • N
              netblues @veldthui
              last edited by

              @veldthui Have you tried enabling options in system/advanced/ firewall and nat?

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

                NAT reflection is a hack. Split DNS is the way to do it.

                At the VERY LEAST, put the inside servers on a different subnet than the inside users so you are not trying to reflect people back into the same subnet they are connecting from.

                And after you do that, you can use simple port forwards on the user interface instead of a bunch of reflection.

                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
                • V
                  veldthui
                  last edited by

                  Okay thanks for that. I think I have the split DNS working okay and will find out tomorrow when I turn the NAT reflection off.

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