Page 1 of 1

UDP over DNS

Posted: Thu Aug 03, 2017 9:45 am
by hell_coder
Greetings!

I have some few tools implementing UDP over DNS using OpenVPN under UDP protocol!

The OpenVPN client seems to pass --proto udp --remote 127.0.0.1 1026 --route dns_server_ip 255.255.255.255 net_gateway
The local server in here seems to intercept this OpenVPN request and sends to openvpn server through some DNS queries.

Then under DNS queries there seems to be some TXT DNS record request and Reply and in here Request and Reply originate from a Certain Local port as the Source and are destined to DNS server through Port 53.

And Ultimately the Openvpn connection is Connected.

My concerned is how Can I implement this type of method,Can anyone who has seen this try to Give me an algorithm used to accomplish this.

REGARDS

Re: UDP over DNS

Posted: Tue Sep 19, 2017 12:20 am
by x9p
Your question is a bit off or I was not able to reach the proper understanding.

>I have some few tools implementing UDP over DNS using OpenVPN under UDP protocol!

DNS uses UDP protocol most of the time, not talking about replication here, just plain name resolving. TCP is also used, but less.

Don't you really mean you want to use DNS tunneled over OpenVPN so your DNS requests are not visible to your ISP because they are actually forwarded to the remote server?

x9p