Difference between revisions of "DNS Tunnel IP Over DNS"

From MS Computech
Jump to: navigation, search
Line 19: Line 19:
 
เวลาเรียก Domain ให้ใช้ t1.mscomputech.net * ตัวอย่าง
 
เวลาเรียก Domain ให้ใช้ t1.mscomputech.net * ตัวอย่าง
  
[[File:File.jpg]]
+
[[File:ns.jpg]]
  
 
2. ใช้คำสั่ง เพื่อ Runserver รอรับ Connection จาก Client
 
2. ใช้คำสั่ง เพื่อ Runserver รอรับ Connection จาก Client

Revision as of 13:35, 28 July 2012

วิธีการ Bypass Hotspot Captive Portal โดยใช้ DNS Tunnel สิ่งที่ต้องมี


1. Domain name ที่สามารถ Edit NS Record ได้.
2. Server Fake DNS + SSH server เพื่อทำ Tunnel.
3. iodine dns program.


วิธีการทำ DNS Tunnel

1. ทำการ Delegate subdomain ตัวอย่าง t1.yourdomain.net

t1ns IN A 10.111.112.123 t1 IN NS t1ns.yourmain.net. ; note the dot!

ชี้ t1 subdomain ไปที่ t1ns ซึ่งเป็น ip 10.111.112.123 เวลาเรียก Domain ให้ใช้ t1.mscomputech.net * ตัวอย่าง

Ns.jpg

2. ใช้คำสั่ง เพื่อ Runserver รอรับ Connection จาก Client

iodined -f -c -P secretpassword 192.168.99.1 t1.yourdomain.net 

3. Client

iodine -f -P secretpasswor t1.yourdomain.net

4. Open Putty SSH > Tunnel > Dynamic > Auto > Sourceport 8080 > ADD และ สั่ง connect ip server 192.168.99.1

5. ไปที่ Network Setting ของ Firefox > Manual Proxy Configuration > Sockhost 127.0.0.1 Port 8080 > Sock v5

--- Source --Snifer 02:28, 28 July 2012 (EDT)