nat-traversal-client

Mao NAT Traversal Client

License

License

Categories

Categories

CLI User Interface
GroupId

GroupId

com.maojianwei.nat.traversal
ArtifactId

ArtifactId

nat-traversal-client
Last Version

Last Version

1.0
Release Date

Release Date

Type

Type

jar
Description

Description

nat-traversal-client
Mao NAT Traversal Client
Project URL

Project URL

http://www.MaoJianwei.com

Download nat-traversal-client

How to add to project

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

Dependencies

compile (4)

Group / Artifact Type Version
org.springframework.boot : spring-boot-starter-web jar
org.springframework : spring-web jar
com.fasterxml.jackson.core : jackson-databind jar
com.maojianwei.nat.traversal : nat-traversal-lib jar 1.0

Project Modules

There are no modules declared in this project.

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