Pages

Monday, 17 June 2019

Linux桌面系统上的全局代理协议的实现方案-natcap

 an implementation of transparent proxy protocol to break through the firewall.

TCP flow establishing connection

Image of TCP flow establishing connection

How router works

TCP encode headers

Install on Ubuntu

Install essential packages
sudo apt-get install build-essential ipset libev-dev
sudo apt-get build-dep linux-image-`uname -r`
sudo apt-get install lua5.1 lua-cjson lua-bitop ipcalc
Get the source code
git clone https://github.com/ptpt52/natcap.git
Build and run as client
cd natcap
make && make -C natcapd
#edit client.sh change server line
sudo ./client.sh
Build and run as server
cd natcap
make && make -C natcapd
sudo ./server.sh
from https://github.com/ptpt52/natcap