nat-traversal

Mao NAT Traversal Service

License

License

GroupId

GroupId

com.maojianwei.nat.traversal
ArtifactId

ArtifactId

nat-traversal
Last Version

Last Version

1.0
Release Date

Release Date

Type

Type

pom
Description

Description

nat-traversal
Mao NAT Traversal Service
Project URL

Project URL

http://www.MaoJianwei.com
Source Code Management

Source Code Management

https://github.com/MaoJianwei/NAT_Traversal_Service.git

Download nat-traversal

Filename Size
nat-traversal-1.0.pom 5 KB
Browse

How to add to project

<!-- https://jarcasting.com/artifacts/com.maojianwei.nat.traversal/nat-traversal/ -->
<dependency>
    <groupId>com.maojianwei.nat.traversal</groupId>
    <artifactId>nat-traversal</artifactId>
    <version>1.0</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/com.maojianwei.nat.traversal/nat-traversal/
implementation 'com.maojianwei.nat.traversal:nat-traversal:1.0'
// https://jarcasting.com/artifacts/com.maojianwei.nat.traversal/nat-traversal/
implementation ("com.maojianwei.nat.traversal:nat-traversal:1.0")
'com.maojianwei.nat.traversal:nat-traversal:pom:1.0'
<dependency org="com.maojianwei.nat.traversal" name="nat-traversal" rev="1.0">
  <artifact name="nat-traversal" type="pom" />
</dependency>
@Grapes(
@Grab(group='com.maojianwei.nat.traversal', module='nat-traversal', version='1.0')
)
libraryDependencies += "com.maojianwei.nat.traversal" % "nat-traversal" % "1.0"
[com.maojianwei.nat.traversal/nat-traversal "1.0"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

  • nat-traversal-lib
  • nat-traversal-server
  • nat-traversal-client

NAT_Traversal_Service

Build Status License

NAT traversal server, client and libraries.

.

Usage

Compile from source code:

$ 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 <directory-of-binary-jar>, 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 to enable pushing notifications/messages via WeChat/微信. 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://<client-ip>:<server.port-in-properties-files>/nat

NAT-Traversal Client: http://<server-ip>:<server.port-in-properties-files>/nat

demo

UML Sequence chart

UML_Sequence_Chart_v1.0

Versions

Version
1.0