On Tue, 11 Jul 2006, Sanjay Upadhyay wrote: > Firsty I have some knowledge of NAT and I have an environment where > clients are sitting behind NAT's configured with iptables. And I read > this excellent article on p2p communication over NATs called > "Peer-to-Peer Communication Across Network Address Translators" > (http://www.brynosaurus.com/pub/net/p2pnat/).
> After several tries, I havent even progressed an inch in communicating > from peer to peer. since my NAT s/w is IPTABLES, does it support such > a feature of NAT traversal ? The XLattice STUN server downloadable from http://sourceforge.net/project/showfiles.php?group_id=92652 (the "stunplus" entry) was developed behind a NAT/firewall using iptables. Never had any problems. > And is there any way of using TCP to do > the NAT traversal ? We also experimented with Freenet sometime back. Our end was permanently configured with a fixed public IP address and IP port. The machine of course actually had an address in private address space (192.168/16). Never a problem with that either. Freenet used TCP/IP. > I have studied Skype for this effect, and I have seen that it isnt > working with UDP (in my NAT environment atleast), all TCP > communications, on port 80 and 443. I am new and bewildered. I need > some direction, as how to progress, in writing a simple p2p > communication over NAT. And we also use Skype and Gmail from behind the same NATs (ours and our broadband providers). Operating systems used have varied from time to time. Currently Debian Linux and Windows XT and 98. Previously Redhat and FreeBSD. The NAT/firewall was running Redhat, is now running Debian. In summary, we have had no problem at all with NAT traversal. I suspect that there is some problem with your iptables configuration. If you send it to me off-list, I may be able to help. -- Jim Dixon [EMAIL PROTECTED] tel +44 117 982 0786 mobile +44 797 373 7881 http://xlattice.sourceforge.net p2p communications infrastructure _______________________________________________ p2p-hackers mailing list [email protected] http://lists.zooko.com/mailman/listinfo/p2p-hackers
