Date: 18 Jun 2019 12:50:27 -0400 From: "John Levine" <johnl@iecc.com> To: freebsd-questions@freebsd.org Subject: IPFW redirect to another port? Message-ID: <20190618165028.83C662015F9118@ary.qy>
next in thread | raw e-mail | index | archive | help
I would like to use ipfw to redirect incoming port 53 requests from a few IP addresses to a different port, so I can use a custom DNS server to answer them. I can figure out how to redirect their traffic to, say, port 5553, but the responses come from 5553 which of course doesn't work. Any suggestions about how to adjust the port numbers going both ways? It's fine if they screw up other traffic to those IPs. TIA.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190618165028.83C662015F9118>