I have some specialized DNS servers running on FreeBSD 11. A few people keep hammering on them and I would like to give them different answers. So I'd like to divert UDP traffic from those hosts from port 53 to port 5300 where a different server is listening. I tried ipfw fwd, which gets the traffic to the port 5300 server, but the answers get lost because they go out with port 5300 rather than 53. So it looks like ipfw divert and natd should be able to get the requests to port 5300 and the responses rewritten as though from port 53, but I haven't been able to figure out the right set of commands and options. Examples would be very helpful. (The DNS servers are custom stuff utterly unlike BIND, so I can't just do split horizon.)
FreeBSD: redirect some UDP traffic from one port to another
330 views Asked by John Levine At
0
There are 0 answers
Related Questions in DNS
- AWS Dns record A not navigate to elb
- I created a domain name from cloudflare, and Hoisted my static site hosted in google firebase, error in adding custom domain in firebase
- I am the domain admin, newbie, how do I connect youtube.com on my domain?
- The problem with raising the DNS server on Ubuntu 20.04 - bind9
- I registered a service in eureka which is resolving through java code. But it is not able to resolve its name when hitting through chrome or postman
- Assigned A record for Subdomain in Cloud DNS to Compute Engine VM instance but not propagated/resolved yet
- Why Bind9 responds with latency for RPZ rule?
- Create aws certification for domain
- Make Bind DNS server to request only root DNS servers of IANA website
- Domain Still Redirecting Despite Transferring Out of Godaddy
- Set up MX records in apache/Ubuntu to point to external mail server
- Changing AWS registred domain back to AWS name servers
- Docker networking forwarding failed
- Can access IP address of domain via mobile but not wifi
- CURL got Could not resolve host: my subdomain
Related Questions in FREEBSD
- Is it safe to assume 8-bit char on Linux and FreeBSD, based on POSIX?
- How can I switch from clang11 to clang14 on freebsd?
- How do I make HTTPS server pool processes work with secure SSL connections?
- FreeBSD 14.0, Ruby on Rails deployment issues (gem sqlite3 not installing)
- Compiling go for FreeBSD 13.2 arm
- Need help in understanding the Capsicum capability mode and its effect on getpass()
- configure: error: C compiler cannot create executables ERROR on FreeBSD 14.0-RELEASE
- Simplifying file comparison in a shell script
- Are There Always-Used and Kernel-Specific System Call For BSDs and Linux?
- Cross-compiling on freebsd13.1 with freebsd11.4
- Built-in/portable method of appending string to file via bash without redirection
- Makefile .for and .if expansion
- Not able to connect to remote FreeBSD server from VScode in mac
- Slow query with 3 seconds of execution
- Better performance with sudo "git clone" FreeBSD
Related Questions in NAT
- Issue with K6 Operator and Cloud NAT connection count during stress testing
- AWS: Putting together ELB, NAT Gateway and Public Subnet - Not working
- When iptables is used for reverse proxy, how does the proxy server know the client IP address after the real-server replies messages?
- How to make local packets go through nat / prerouting (they go directly to filter / input)
- Usage of Multiple Egress IPs in Google Cloud NAT Setup
- ICMP request not been forwarded by NAT instance
- NAT KeepAlive Package in Android
- Getting internet Access to Ec2 instance in a public subnet without having a public IPv4
- AWS Lambda init phase timeout in VPC
- Node Application not writing to the correct griddb cluster
- P2P Connection Issue with NAT Traversal on Mobile Devices
- Why is Azure NAT not affecting my effective routes from my Azure routing table?
- Why is my device marked as unknown device when using "Mono.Nat.NatUtility.StartDiscovery()"?
- How to perform NAT hole punching on an additional client mid-session?
- Tethering - Sharing mobile network to LAN
Related Questions in IPFW
- FreeBSD port redirection for http requests
- Disallow egress from Docker containers on Docker for Mac
- FreeBSD: redirect some UDP traffic from one port to another
- dummynet corruption, reordering of package
- IPFW with MAC ddressing on FreeBSD-11
- Will Netmap bridging break ipfw rule on FreeBSD
- Dummynet installation on all components on system
- At what layer of the OSI model does ipfw works?
- looking for alternative solution than IPFW for slowing down an internet connection
- Simple anti DDoS protection in FreeBSD
- add custom port forward rule to ipfw on freebsd
- How to block based on Mac address on FreeBsd? (ipfw firewall)
- Dummynet does not match on flows
- How does bandwidth limiting (with, say, ipfw) work?
- How to simulate bandwidth and delay in localhost with dummynet (ipfw)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)