quicktun for Debian
-------------------

Below you can find some sample use case for quicktun.

Scenario:

Host1 behind NAT, not publicly reachable.
Host2 having public reachable address.

Configuration on Host1:

auto tun0
iface tun0 inet static
	address 10.0.0.1 			# local address of Host1
	pointopoint 10.0.0.2 			# this will be "local" address of Host2 
	netmask 255.255.255.255			# self explanatory
	qt_remote_address <some.real.ip>	# put here real address of machine that will act as server
	qt_local_address 0.0.0.0		# you can specify real address of Host1 or just use 0.0.0.0 to bind to whatever
	qt_tun_mode 1				# we're using TUN mode
	qt_protocol nacltai			# and NACLTAI encryption
	qt_private_key bunchofrandomchars 	# SECRET part of keypair output from Host1
	qt_public_key bunchofrandomchars 	# PUBLIC part of keypair output from Host2

Configuration on Host2:

auto tun0
iface tun0 inet static
       address 10.0.0.2				# local address of Host2
       pointopoint 10.0.0.1			# local address of Host1
       netmask 255.255.255.255			# self explanatory
       qt_remote_address 0.0.0.0		# you can specify real address of Host1 but when it's behind the NAT then just use 0.0.0.0
       qt_local_address 185.115.155.253		# local public address of Host2
       qt_tun_mode 1				# we're using TUN mode
       qt_protocol nacltai			# and NACLTAI encryption
       qt_private_key bunchofrandomchars	# SECRET part of keypair output from Host2
       qt_public_key bunchofrandomchars		# PUBLIC part of keypair output from Host1

After launching such configuration you should be able to reach Host1 from Host2 by connecting to 10.0.0.1. 
