UDP over DNS

How to customize and extend your OpenVPN installation.
Post Reply
hell_coder
OpenVpn Newbie
Posts: 1
Joined: Thu Aug 03, 2017 9:35 am

UDP over DNS

Post by hell_coder » Thu Aug 03, 2017 9:45 am

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

x9p
OpenVpn Newbie
Posts: 4
Joined: Mon Sep 18, 2017 12:07 am

Re: UDP over DNS

Post by x9p » Tue Sep 19, 2017 12:20 am

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

Post Reply