3 unstable releases

0.2.1 Aug 31, 2020
0.2.0 Aug 14, 2020
0.1.0 Jul 20, 2020

#16 in #deal

MIT license

37KB
840 lines

stunxy

stunxy is a tool dealing with NAT traversal using STUN (RFC 3489).

Usage

# Use default server stun.ekiga.net:3478
stunxy

# Designate a STUN server and use SOCKS proxy
stunxy <ADDRESS> -s <ADDRESS>

Args

<ADDRESS>: Server, default as stun.ekiga.net.

Flags

-h, --help: Prints help information.

-V, --version: Prints version information.

Options

-p, --port <VALUE>: Port, default as 3478.

-s, --socks-proxy <ADDRESS>: SOCKS proxy. Only support SOCKS5 proxy.

--username <VALUE>: Username. This value should be set only when the SOCKS5 server requires the username/password authentication.

--password <VALUE>: Password. This value should be set only when the SOCKS5 server requires the username/password authentication.

-w, --timeout <VALUE>: Timeout to wait for each response, 0 as no timeout, default as 3000 ms.

License

stunxy is licensed under the MIT License.

Dependencies

~4.5MB
~74K SLoC