Created
January 31, 2021 23:42
-
-
Save OnkelDom/b55d761213b9e3f687ca10d6fa393c22 to your computer and use it in GitHub Desktop.
This file contains hidden or 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", | |
"destination":{ | |
"port":"53" | |
}, | |
"inbound-interface":"eth1", | |
"inside-address":{ | |
"address":"192.168.1.2", | |
"port":"53" | |
}, | |
"source":{ | |
"address":"!192.168.1.2" | |
}, | |
"log":"disable", | |
"protocol":"tcp_udp", | |
"type":"destination" | |
}, | |
"6000":{ | |
"description":"Translate DNS to Internal", | |
"destination":{ | |
"address":"192.168.1.2", | |
"port":"53" | |
}, | |
"log":"disable", | |
"outbound-interface":"eth1", | |
"protocol":"tcp_udp", | |
"type":"masquerade" | |
}, | |
"5999":{ | |
"exclude": "''", | |
"outbound-interface": "eth0", | |
"type": "masquerade" | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment