安装依赖
sudo apt-get install g++ make libboost-dev libssl-dev -y
下载stunserver
git clone https://github.com/jselbie/stunserver
编译
cd stunserver/
make
多出三个可执行文件stuntestcode(测试安装是否有问题),stunclient(客户端),stunserver(服务端)
启动
./stunserver
安装依赖
sudo apt-get install g++ make libboost-dev libssl-dev -y
下载stunserver
git clone https://github.com/jselbie/stunserver
编译
cd stunserver/
make
多出三个可执行文件stuntestcode(测试安装是否有问题),stunclient(客户端),stunserver(服务端)
启动
./stunserver