stunclient - command line app for the STUN protocol
stunclient [OPTIONS] server [port]
stunclient attempts to discover the local host's own external IP address, obtain a port mapping, and optionally discover properties of the Network Address Translator (NAT) between the host and the the server.
The following options are supported.
--mode MODE
--localaddr INTERFACE
--localport PORTNUMBER
--family IPVERSION
--protocol PROTO
--verbosity LOGLEVEL
--help
Details of each option and parameters are as follows.
server
The server parameter is the IP address or FQDN of the remote server to
perform the binding tests with. It is the only required parameter.
* * * * *
port
The port parameter is an optional parameter that can follow the server
parameter. The default is 3478 for UDP and TCP.
* * * * *
--mode MODE
Where MODE is either "basic" or "full". "basic" mode is the default
and indicates that the client should perform a STUN binding test only.
"full" mode indicates that the client should attempt to diagnose NAT
behavior and filtering methodologies if the server supports this mode.
The NAT filtering test is only supported for UDP.
* * * * *
--localaddr INTERFACE or IPADDRESS
The value for this option may the name of an interface (such as "eth0"
or "lo"). Or it may be one of the available IP addresses assigned to a
network interface present on the host (such as "128.23.45.67"). The
interface chosen will be the preferred address for sending and
receiving responses with the remote server. The default is to let the
system decide which address to send on and to listen for responses on
all addresses (INADDR_ANY).
* * * * *
--localport PORTNUM
PORTNUM is a value between 1 to 65535. This is the UDP or TCP port
that the primary and alternate interfaces listen on as the primary port
for binding requests. If not specified, a randomly available port
chosen by the system is used.
* * * * *
--family IPVERSION
IPVERSION is either "4" or "6" to specify the usage of IPV4 or IPV6.
If not specified, the default value is "4".
* * * * *
--protocol PROTO
PROTO is either "udp" or "tcp". "udp" is the default if this parameter
is not specified
* * * * *
--verbosity LOGLEVEL
Sets the verbosity of the logging level. 0 is the default (minimal
output and logging). 1 shows slightly more. 2 and higher shows even
more.
* * * * *
--help Prints this help page
stunclient stunserver.org 3478
Performs a simple binding test request with the server listening
at "stunserver.org"
stunclient --mode full --localport 9999 12.34.56.78
Performs a full set of UDP NAT behavior tests from local port
9999 to the server listening at IP Address 12.34.56.78 (port
3478)
stunclient --protocol tcp stun.selbie.com
Performs a simple binding test using TCP to server listening on
the default port of 3478 at stun.selbie.com
john selbie ([email protected])
Personal Opportunity - Free software gives you access to billions of dollars of software at no cost. Use this software for your business, personal use or to develop a profitable skill. Access to source code provides access to a level of capabilities/information that companies protect though copyrights. Open source is a core component of the Internet and it is available to you. Leverage the billions of dollars in resources and capabilities to build a career, establish a business or change the world. The potential is endless for those who understand the opportunity.
Business Opportunity - Goldman Sachs, IBM and countless large corporations are leveraging open source to reduce costs, develop products and increase their bottom lines. Learn what these companies know about open source and how open source can give you the advantage.
Free Software provides computer programs and capabilities at no cost but more importantly, it provides the freedom to run, edit, contribute to, and share the software. The importance of free software is a matter of access, not price. Software at no cost is a benefit but ownership rights to the software and source code is far more significant.
Free Office Software - The Libre Office suite provides top desktop productivity tools for free. This includes, a word processor, spreadsheet, presentation engine, drawing and flowcharting, database and math applications. Libre Office is available for Linux or Windows.
The Free Books Library is a collection of thousands of the most popular public domain books in an online readable format. The collection includes great classical literature and more recent works where the U.S. copyright has expired. These books are yours to read and use without restrictions.
Source Code - Want to change a program or know how it works? Open Source provides the source code for its programs so that anyone can use, modify or learn how to write those programs themselves. Visit the GNU source code repositories to download the source.
Study at Harvard, Stanford or MIT - Open edX provides free online courses from Harvard, MIT, Columbia, UC Berkeley and other top Universities. Hundreds of courses for almost all major subjects and course levels. Open edx also offers some paid courses and selected certifications.
Linux Manual Pages - A man or manual page is a form of software documentation found on Linux/Unix operating systems. Topics covered include computer programs (including library and system calls), formal standards and conventions, and even abstract concepts.