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

NAT Forward Rules for other protocols: IPIP

Scheduled Pinned Locked Moved NAT
7 Posts 6 Posters 1.9k 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.
  • K
    kris.ke4ahr
    last edited by kris.ke4ahr Jul 25, 2018, 8:35 PM Jul 25, 2018, 6:16 PM

    I noticed that in the drop-down box for a NAT forward rule, the following are listed:

    TCP
    UDP
    TCP/UDP
    ICMP
    ESP
    AH
    GRE
    IPV6
    IGMP
    PIM
    OSPF

    https://en.wikipedia.org/wiki/List_of_IP_protocol_numbers

    Of notable exclusion is IPIP (type 4), which is very much in active use by 44net aka ampr.org.

    I am of the opinion that if the protocol types are going to be limited to the top 12, the last option should be a custom or advanced option and a custom field number entered.

    Without the ability to forward the IPIP tunnel to another host for processing or tunnel termination, that prevents any of the 44net users from being able to connect from behind a pfSense firewall and excludes pfSense from being used as a firewall by those folks.

    44net is 44.0.0.0/8 across the entire world. 44/8 is world-routable and allocated, and that's a lot of possible users to disenfranchise.

    Likewise:
    0x61 97 ETHERIP Ethernet-within-IP Encapsulation (EoIP)
    0x62 98 ENCAP Encapsulation Header
    0x7C 124 IS-IS over IPv4
    0x85 133 FC FCoE
    etc.

    This is apparently a well-enough known issue that Amprnet participants are distributing fixes among themselves: http://www.qsl.net/kb9mwr/wapr/tcpip/pfsense.html

    N 1 Reply Last reply Nov 24, 2022, 2:12 AM Reply Quote 0
    • M
      macNCheeseB
      last edited by Jul 25, 2018, 7:30 PM

      I second this suggestion. I'm trying to work with some protocols not in that list (among the most important is SCTP). Firewall has a larger list, but NAT limits the possibility.

      1 Reply Last reply Reply Quote 0
      • J
        jimp Rebel Alliance Developer Netgate
        last edited by Jul 30, 2018, 3:45 PM

        There isn't any specific reason I'm aware of we don't include more protocols there, except that few people have asked for them (or none at all).

        Only special consideration is that only TCP and UDP have a concept of ports, everything else should just forward in. Same with rules, the list isn't exhausive mostly for convenience, but technically pf can forward/filter any valid protocol as far as I'm aware. No documented limits I could see.

        We could suck in the contents of /etc/protocols and massage it into something usable and tack it on the end of the drop-down, perhaps.

        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!

        N 1 Reply Last reply Jul 30, 2018, 3:46 PM Reply Quote 0
        • N
          NogBadTheBad @jimp
          last edited by NogBadTheBad Jul 30, 2018, 3:47 PM Jul 30, 2018, 3:46 PM

          @jimp

          How about people just adding the protocol number like the custom ports ?

          Andy

          1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

          1 Reply Last reply Reply Quote 1
          • J
            jimp Rebel Alliance Developer Netgate
            last edited by Jul 30, 2018, 3:48 PM

            Then we'd need a completely new GUI control that would allow both drop-down and text input (like we have for ports, for example), and that's a bit more complicated to get into. Also it's valid to specify the protocol names, and people are not as likely to remember the numbers compared to the names.

            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 1
            • O
              oleg.blecher
              last edited by Sep 17, 2019, 10:47 AM

              I would also like to request NAT-support for SCTP, and other protocols.

              Is there any ETA on that? Or is there a way I could configure it manually?

              1 Reply Last reply Reply Quote 0
              • N
                N8LBV @kris.ke4ahr
                last edited by Nov 24, 2022, 2:12 AM

                This is apparently a well-enough known issue that Amprnet participants are distributing fixes among themselves: http://www.qsl.net/kb9mwr/wapr/tcpip/pfsense.html

                Thanks for sharing that link.
                Over four years later-
                This came across my desk today and that really came in handy.

                I feel more like I do now.

                1 Reply Last reply Reply Quote 0
                • B bfelts referenced this topic on Jan 24, 2024, 3:38 AM
                • First post
                  Last post
                Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                  [[user:consent.lead]]
                  [[user:consent.not_received]]