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

Question regarding NPT

Scheduled Pinned Locked Moved IPv6
7 Posts 3 Posters 4.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.
  • I
    ineti
    last edited by Jul 30, 2013, 8:08 AM

    I got a question about IPv6 Network Prefix Translation

    WAN -> ISP Router -> internal LAN with /64 Subnet -> pfSense with NPT and internal ULA prefix.

    The pfSense is behind the ISP router (with it's /64 subnet a🅱c:d) and translates it's intenral ULA (let's call it e:f:g:h) IPs to the public IPv6 LAN.

    The hosts in the internal LAN calculate their IPs und the hosts behind the pfSense calculate their ULA ips also.
    How does pfSense prevent that IPs are used two times?

    Example:
    behind the ISP router is a host that calculates a🅱c:d:1:2:3:4, behind the pfSense a hosts calculates e:f:g:h:1:2:3:4 that would be translated to a🅱c:d:1:2:3:4 via NPT, so I would get an adress conflic on the ISP router subnet.


    Does NPT recognize that?

    1 Reply Last reply Reply Quote 0
    • J
      jimp Rebel Alliance Developer Netgate
      last edited by Jul 30, 2013, 5:22 PM

      NPt is not meant to be used that way.

      NPt is to be used with a routed subnet, delivered only to the firewall. It will NOT work with your firewall's "WAN" subnet.

      For that to work you'd need something akin to "Proxy NDP" which does not yet exist.

      Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

      Need help fast? Netgate Global Support!

      Do not Chat/PM for help!

      1 Reply Last reply Reply Quote 0
      • I
        ineti
        last edited by Jul 31, 2013, 9:05 AM

        OK thanks.

        So there is no way to use a pfSense behind another router that doesn't support prefix delegation?
        NAT66 becomes more and more an option…

        1 Reply Last reply Reply Quote 0
        • J
          jimp Rebel Alliance Developer Netgate
          last edited by Jul 31, 2013, 11:46 AM

          Static routing, prefix delegation, or (ick) bridging.

          NAT66 isn't an option currently.

          Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

          Need help fast? Netgate Global Support!

          Do not Chat/PM for help!

          1 Reply Last reply Reply Quote 0
          • D
            doktornotor Banned
            last edited by Jul 31, 2013, 11:50 AM

            @jimp:

            NAT66 isn't an option currently.

            Hopefully NOT just currently… absolutely horrible idea.

            1 Reply Last reply Reply Quote 0
            • J
              jimp Rebel Alliance Developer Netgate
              last edited by Jul 31, 2013, 12:00 PM

              It's a necessary evil for some things, such as transparent proxies and other such trickery that isn't specific to PAT and the like.

              I would love to never see it, too, but unfortunately there are some valid use cases for having it. Ugly as it may be.

              Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

              Need help fast? Netgate Global Support!

              Do not Chat/PM for help!

              1 Reply Last reply Reply Quote 0
              • I
                ineti
                last edited by Jul 31, 2013, 12:51 PM

                I talked to CMB a few weeks ago and he probably will consider NAT66…
                There really are use cases for NAT66. As i told earlier especiallay if you have to use ISP hardware that cannot be changed, doesn't get reconfigured, too small delegated prefix etc...

                Thanks for the bridging Firewall info, that could be of help. Didn't think of that :-)

                Allthough NAT is bad in general it wouldn't be too hard to implement it in pfSense; PF supports NAT66 and it would only require small change to the GUI.

                There has been even code for the pfSense GUI

                https://github.com/pfsense/pfsense/pull/427   <- even discussed on the forum here…

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