Last active
December 5, 2020 21:21
-
-
Save BenMatheja/9876da1c4f47c2abf634b68ec32e217e to your computer and use it in GitHub Desktop.
This USG configuration Redirects DNS traffic to my pihole at .9, .10 and .11. In addition forwarded traffic is disguised so the client will not recognize that he did not hit 8.8.8.8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"service": { | |
"nat": { | |
"rule": { | |
"1": { | |
"description": "DNS Redirect to pihole", | |
"destination": { | |
"address": "!192.168.1.1-192.168.1.11", | |
"port": "53" | |
}, | |
"source" : { | |
"address": "!192.168.1.1-192.168.1.11" | |
}, | |
"inbound-interface": "eth1", | |
"inside-address": { | |
"address": "192.168.1.9-192.168.1.11", | |
"port": "53" | |
}, | |
"log": "disable", | |
"protocol": "tcp_udp", | |
"type": "destination" | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment