Navigation

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

    1:1 NAT vs Outbound NAT

    NAT
    2
    4
    394
    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.
    • J
      joshuamichaelsanders last edited by

      I have two hosts on my firewall that are setup for 1:1 NAT (say 172.16.3.50 & 172.16.3.51 -->> 12.12.12.50 & 12.12.12.51) and then I have a third host that I just want to do outbound NAT for. If I setup the outbound NAT rule for the third host to 172.16.3.0/24 ----> match interface address, will it mess up the 1:1 NAT rules since they are in the same subnet as the /24 rule?

      1 Reply Last reply Reply Quote 0
      • S
        SteveITS last edited by

        The outbound NAT rules are ordered so you can drag them to the desired order. So, put 1:1 IPs towards the top and the subnet at the bottom of the list.

        Steve

        Only install packages for your version, or risk breaking it. If yours is older, select it in System/Update/Update Settings.
        When upgrading, let it finish. Allow 10 minutes, or more depending on packages and device speed.

        1 Reply Last reply Reply Quote 0
        • J
          joshuamichaelsanders last edited by

          I'm seeing the NAT rules on 2 separate screens. One for 1:1 and one for outbound.

          1 Reply Last reply Reply Quote 0
          • S
            SteveITS last edited by

            The 1:1 page is for the inbound connection.

            It can get crossed up if you do that manually, so traffic comes in one IP and the reply is sent out another. That generally doesn't work since the other end drops the reply packets.

            I'm pretty sure pfSense will just automatically do it right. If you can connect out from the servers using 1:1 then connect out to whatismyip.org or something and you can see what IP you're connecting out on.

            On the outbound page what I was trying to say was that any rules entered there are processed in order, like firewall rules.

            Steve

            Only install packages for your version, or risk breaking it. If yours is older, select it in System/Update/Update Settings.
            When upgrading, let it finish. Allow 10 minutes, or more depending on packages and device speed.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post