/natcap

Natcap protocol to break through the firewall

Primary LanguageC

natcap

TCP flow establishing connection

Image of TCP flow establishing connection

How router works

https://github.com/ptpt52/natcap/blob/master/docs/multi_conn.pdf

TCP encode headers

https://github.com/ptpt52/natcap/blob/master/docs/natcap_tcp_type1.pdf https://github.com/ptpt52/natcap/blob/master/docs/natcap_tcp_type2.pdf https://github.com/ptpt52/natcap/blob/master/docs/natcap_tcp_type3.pdf

Install on Ubuntu(Client side)

Install essential packages

sudo apt-get install build-essential ipset dnsmasq
sudo apt-get build-dep linux-image-`uname -r`

Get the source code

git clone https://github.com/ptpt52/natcap.git

Build and run

cd natcap
make
sudo ./client.sh