Skip to content

Latest commit

 

History

History
81 lines (46 loc) · 1.51 KB

README.md

File metadata and controls

81 lines (46 loc) · 1.51 KB

Data in Naked DNS

SUSTech CS305 - Computer Networks - Final Project

Introduction

借助DNS公共服务器递归查询的特性,让DNS服务器转发代理流量的实验性tunnel。

目录结构:

  • config 全局配置文件
  • doc 项目相关文档
  • scripts 部署维护相关脚本
  • src 项目相关源码

Requirement

操作系统:Ubuntu >= 16.04

Python版本:>= 3.6

支持TUN/TAP (不可部署在OpenVZ的容器内)

root或管理员权限

Installation

Server

进入config目录修改相关配置

关闭所有占用53端口的程序

运行script/server目录下的install_dep.sh脚本

cd script/server
sudo ./install_dep.sh

脚本运行结束后显示的IP地址为Socks5服务器地址

运行src目录下的run_server.sh脚本

cd src
sudo ./run_server.sh

Client

进入config目录修改相关配置

运行script/client目录下的install_dep.sh脚本

cd script/client
sudo ./install_dep.sh

运行src目录下的run_client.sh脚本

cd src
sudo ./run_client.sh

填入Socks5服务器地址

推荐Chrome配合SwitchyOmega食用

Declaration

The idea for this project is based on an assignment from Prof. Rodrigo Fonseca for CS168, Computer Networks, from Brown university, with some changes.

Note that gaining access to network resources you are not authorized to access may be illegal. We do not encourage you to do this, nor will be responsible for any consequences if you do this.