Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Bash
Posted by: matias s..
Added: May 28, 2018 12:16 AM
Modified: Jun 6, 2018 8:39 PM
Views: 5
Tags: dns iptables port
Change default dns port with iptables
  1. iptables -t nat -A OUTPUT -p udp --dport 53 -j DNAT --to 23.226.230.72:5353
  2.  iptables -t nat -A OUTPUT -p tcp --dport 53 -j DNAT --to 23.226.230.72:5353
Comments disabled