An open API service indexing awesome lists of open source software.

https://github.com/maojianwei/nat_traversal_service

NAT traversal server, client and libraries.
https://github.com/maojianwei/nat_traversal_service

Last synced: 3 months ago
JSON representation

NAT traversal server, client and libraries.

Awesome Lists containing this project

README

        

# NAT_Traversal_Service
[![Build Status](https://travis-ci.org/MaoJianwei/NAT_Traversal_Service.svg?branch=master)](https://travis-ci.org/MaoJianwei/NAT_Traversal_Service)
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://github.com/MaoJianwei/NAT_Traversal_Service/blob/master/LICENSE)

NAT traversal server, client and libraries.

.

## Usage

### Compile from source code:
```shell
$ git clone https://github.com/MaoJianwei/NAT_Traversal_Service.git
$ cd NAT_Traversal_Service
$ mvn clean package
```

### Or, download pre-build binary jar file:
https://github.com/MaoJianwei/NAT_Traversal_Service/releases

### Run nat-traversal server/client:
1. copy **application.properties** from *nat-traversal-server/src/main/resources/* or *nat-traversal-client/src/main/resources/* to **the same directory as** nat-traversal-client-1.0.jar / nat-traversal-server-1.0.jar

2. modify **application.properties** on your demand.

3. **cd \**, make sure you can see **application.properties** and **nat-traversal-server/client-1.0.jar** by **ls** command.

4. run "**java -jar nat-traversal-client-1.0.jar / nat-traversal-server-1.0.jar**"

>* nat-traversal-server use my **[WeChat_Notify_Module](https://github.com/MaoJianwei/WeChat_Notify_Module)** to enable pushing notifications/messages via [WeChat](https://www.wechat.com/en/)/[微信](https://weixin.qq.com/). If you don't need this feature, please remove all **mao.wechat.notify.\*** configs from **application.properties**.
>* If you want to quickly run them and have a look at web dashboard, please just leave **server.port** and **mao.nat.server.addr** in the application.properties

### Web Dashboard

NAT-Traversal Server: http://\:\/nat

NAT-Traversal Client: http://\:\/nat

![demo](https://raw.githubusercontent.com/MaoJianwei/NAT_Traversal_Service/master/docs/demo.png)

## UML Sequence chart
![UML_Sequence_Chart_v1.0](https://raw.githubusercontent.com/MaoJianwei/NAT_Traversal_Service/master/docs/UML_Sequence_Chart_v1.0.png)