Skip to content

Instantly share code, notes, and snippets.

@OnkelDom
Created January 31, 2021 23:42
Show Gist options
  • Save OnkelDom/b55d761213b9e3f687ca10d6fa393c22 to your computer and use it in GitHub Desktop.
Save OnkelDom/b55d761213b9e3f687ca10d6fa393c22 to your computer and use it in GitHub Desktop.
{
"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