Setting DNS tunnel

0. basic knowledge

https://qiuri.org/806.html
https://www.rawidn.com/posts/how-to-use-dns-tunnel.html
https://github.com/yarrick/iodine#server-side

1. set domain record

Setting DNS tunnel_第1张图片

2. run iodine at server

iodined -f -p 5353 -P password 192.168.100.1 t1.yingshaoxo.xyz

3. forward 53 port to 5353

use ifconfig to check if your interface is also eth0
iptables -t nat -A PREROUTING -i eth0 -p udp --dport 53 -j DNAT --to :5353

4. give it a test

go to http://code.kryo.se/iodine/check-it/

Setting DNS tunnel_第2张图片

5. run local program

sudo iodine -f -P password 45.76.7.184 t1.yingshaoxo.xyz

6. set up ssr and connect it through local ip 192.168.100.1

have fun!

你可能感兴趣的:(Setting DNS tunnel)