dns2tcp 0.5.2 - DEPRECATED¶
- Package: master/make/pkgs/dns2tcp/
- Steward: -
Dns2tcp wurde entwickelt, um TCP Connections über DNS Traffic zu
"tunneln". Die Datenkapselung erfolgt bereits auf dem TCP Level,
sodass kein gesonderter Treiber (TUN/TAP) benötigt wird. Der Dns2tcp
Client muss nicht mit besonderen Rechten laufen.
Dns2tcp besteht aus zwei Teilen: Einem Server- und einem
Client-seitigen Tool. Aus seiner Konfigurationsdatei kennt der Server
eine Liste von Resourcen, wobei jede Resource ein lokaler oder
entfernter Dienst ist, der auf TCP Connections "horcht"
("Listener"). Der Client hört auf einen vordefinierten TCP Port, und
leitet jede eingehende Verbindung über DNS an den Zieldienst weiter.
Using with FreeDNS¶
None of my hosting providers allowed me to set NS records, not even for
a subdomain, which seems to be common. I found out it is also possible
to use FreeDNS for this purpose.
Assuming you have a
(DynDNS) domain name
pointing to your Fritz!Box, lets say fabulous.fritzbox.org, you can do
this:
- Register at
FreeDNS - Create a FreeDNS subdomain:
- Type: NS
- Subdomain: anything you like, for example dns2tcp
- Domain: anything you like, for example strangled.net
- Destination: for example fabulous.fritzbox.org
- Set dns2tcp.strangled.net as DNS name using the dns2tcp WebIF
-
On the client you should be able to create a DNS tunnel like this
now: -
If you want a local
SOCKS
server to browse the internet: -
If you want to use [Polipo?] as http proxy:
A few notes:
- Don't forget to forward port UDP 53 to dns2tcpd, for example
using AVM-Firewall - dns2tcp works with dnsmasq, if you forward
to a port other than 53 - Use dropbear or OpenSSH as SSH server
- Security advice: disable SSH password login and use a certificate to
login - You can setup dynamic DNS using the regular Fritz!Box interface:
- Advanced settings | Internet | Permit Access | Dynamic DNS
- There is no Windows client available (you could try
iodine)