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

    Replace xinetd + netcat with relayd to accomplish NAT reflection

    Scheduled Pinned Locked Moved NAT
    2 Posts 2 Posters 2.3k 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.
    • C
      crzyfry
      last edited by

      Hi,

      I stumpled over relayd its a highspeed proxy. My question is, did anyone
      tried to use it as a replacement for xinetd + netcat to accomplish NAT reflection?

      background:
      I had a hard time with netcat/xinetd to create a udp nat reflecting.
      The problem occured while streaming a video stream. tcpdump
      first showed that there that packets were truncated above a length of 1024
      so we adjust the max sending size on the client that was streaming via nat reflecting.
      Now the packets were no longer truncated but the resulting video stream
      showed lots of decompressing errors, so it seems like some packages are
      missing or actual in wrong sequence.

      So Maybe relayd is much better suited to accomplish that task. So did somebody
      tried this or can point me to a place I can get a binary for pfsense?

      thx

      1 Reply Last reply Reply Quote 0
      • C
        cmb
        last edited by

        relayd is built in. AFAIK it's not suitable for reflection. Some rdr hacks can be used but get so complex when you have to accommodate multi-WAN, multi-LAN, CARP, etc. etc. that it's not something that is easily achievable. For one specific scenario it's easier.

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