Sophie

Sophie

distrib > Mandriva > 2009.1 > x86_64 > media > contrib-release > by-pkgid > d2eeb7af9eb0c0e1e30215c07bdf93b8 > files > 7

dns2tcp-server-0.4.3-3mdv2009.1.x86_64.rpm


---------- [ Note ] ----------

Dns2tcp is a tool for relaying TCP connections over DNS. There is no
authentications nor encryption mecanisms : DNS encapsulation must be
considered as an unsecure and anonymous transport layer. Ressources should
be public external services like ssh, ssltunnel ... 


----------[ Examples ]----------


Client:
------


View list of available connection.

	$ dns2tcpc -z dns2tcp.hsc.fr <dns_server>
	Available connection(s) :
	        ssh-gw
	        ssh6-home
	        ssl-tunnel
	$

Line based connection to a remote ssl-tunnel host :

	$ dns2tcpc -r ssl-tunnel -l 4430  -z dns2tcp.hsc.fr <dns_server>
	listening on port 4430
	...
	
File configuration :

	$ cat > ~/.dns2tcprc << EOF
	
	domain = dns2tcp.hsc.fr
	ressource = ssl-tunnel
	local_port = 4430
	debug_level = 1
	server = the_dns_server
	EOF
	$ dns2tcpc


Server :
-------

File configuration :


	$ cat > ~/.dns2tcpdrc << EOF
	
	listen = x.x.x.x
	port = 53
	user = nobody
	chroot = /var/empty/dns2tcp/
	domain = dns2tcp.hsc.fr
	ressources = ssh:127.0.0.1:22 ,          smtp:127.0.0.1:25,
	                pop3:10.0.0.1:110, ssh2:[fe80::1664]:22
	
	EOF
	$ ./dns2tcpd -F -d 1


----------[ Known Bugs ]----------

DNS desynchronisation

Windows not supported