NatTraversal: Build NAT to NAT tunnel with a third-party php server.

NatTraversal also need an stun server to obtain the mapped (public) IP address
(NAT address) and port number that the NAT has allocated for the application's
User Datagram Protocol (UDP) connections to remote hosts.

Usage:
copy www/* to your php server, and chmod all *.txt file, make sure we
can read and write to this files through php.

change the define 'NAT_PHP_URL' in main.c to the right url of yours.

make sure the default stun server 'stunserver.org' available, if not,
change the define 'STUN_HOST' in main.c.

Use 'make A' to build NatTraversalA,
Use 'make B' to build NatTraversalB,
Run each of them on each side of the tunnel you want to create,
need root.

Browse the 'http://YOUR-WEB-URL/nat-status.php' to control and view
status of each side, enjoy.

Project Activity

See All Activity >

Categories

Communications

Follow NatTraversal

NatTraversal Web Site

Other Useful Business Software
Build Agents and Models on One Platform Icon
Build Agents and Models on One Platform

Everything you need to build production-ready agents and models. Access 200+ Google and third-party AI models and tools.

Gemini Enterprise Agent Platform is Google Cloud's comprehensive platform for developers to build, scale, govern, and optimize agents and models. Choose from Google's most advanced models and third-party models like Anthropic's Claude Model Family.
Try It Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of NatTraversal!

Additional Project Details

Operating Systems

BSD, Linux

Programming Language

C, PHP

Related Categories

C Communications Software, PHP Communications Software

Registered

2012-02-05