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
324 Views Asked by John Levine At
0
There are 0 best solutions below
Related Questions in DNS
- Configured TTL for A record(s) backing CNAME records
- Redirecting subdomain to directory on Azure
- SPF and DKIM records for Mandrill on DigitalOcean
- How to convert hostname to DNS name?
- Could someone bring Google OAuth2 for Cloud DNS via Rest to light?
- Spoof Captive Portal Screen on an iOS Device using DNS
- DNS_PROBE_FINISHED_NXDOMAIN on Google App Engine website
- How to check if a redirect leads to a different domain
- IP address to Domain Name? DNS?
- error CS1729: The type `ARSoft.Tools.Net.Dns.DnsServer' does not contain a constructor that takes `4' arguments
- Windows, Apache, Acrylic DNS, and wildcard subdomains
- How to configure DNS for microsoft odbc driver for oracle (in 64 bit arch.)
- How to use one time domain name in android?
- logstash dns filter miss
- Redirect website to another website if blocked in particular region
Related Questions in FREEBSD
- PHP, Apache, FreeBSD permissions issue
- How to set "KRB5RCACHETYPE=none" environment variable in FreeBSD 10?
- starting a new process group from bash script
- Freebsd and unix general,want to set F9 with tilde
- How to downgrade all ports on FreeBSD
- rsync in a FreeBSD jail: failed to set times: Operation not permitted
- Mounting GEOM_ELI Encrypted ZFS Pool as root
- FreeBSD 10: list packages without descriptions
- How to trace system calls in FreeBSD from source code?
- Failed to add external hard disk with FreeBSD 10.1
- Is it possible to poll a kqueue's file descriptor with `select()`?
- Enabling the gold linker on Freebsd
- Porting GNU sed command to BSD sed
- Ruby SSL TCP Server stuck when more than 250 concurrent connexions
- How to deploy nginx without root access?
Related Questions in NAT
- Docker/Boot2Docker: How to run multiple instances of a same container without port forwarding?
- How to change the subnet association from one route table to another route table using terraform?
- how to get tcp connection candidate from twilio stun/turn server?
- Trouble using python request module to make API post call within AWS lambda
- iptables: forward a single IP/Port to one interface, everything else to another
- NAT on Cisco Router between 2 external IP addresses
- Most secure way to run guest apps from host
- Node.js server on local Natted network
- How to Send A UDP packet via public IP through NAT?
- Why Java RMI Callback doesn't work behind NAT router?
- Azure VPN connection and public IP
- Docker's NAT table output chain rule
- Send TCP/UDP packets from the outside to a client behind a router
- DNS records for http web servers behind NAT with different external ports
- Need to use VPN tunnel for class C network using class A tunnel
Related Questions in IPFW
- Dummynet does not match on flows
- Set up port forwarding for SSLSplit (Supports ipfw fwd only) on OSX Mavericks
- How to block/unblock specific port/address using pfctl in command line on OSX Yosemite?
- Traffic shaping on shared internet connection
- DummyNet error NDIS drivers install on Windows 7 x64
- Setting up a Mac as a wifi hotspot to run mobile broadband test cases
- IPFW - Ruleset by default
- FreeBSD: redirect some UDP traffic from one port to another
- udp packet loss
- ipfw resetting after reboot
- Using ipfw with Apple's Reachability class
- How to forward port 80 to 8080 in os x mavericks
- Automate installation of DummyNET Driver using PowerShell
- Using netsh advfirewall to block URLs in Windows
- dummynet corruption, reordering of package
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)
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?