LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-17-2016, 01:36 PM   #1
sebts
LQ Newbie
 
Registered: Jan 2016
Posts: 1

Rep: Reputation: Disabled
NAT traversal framework


Hello,

I am looking for a way to make two machines behind non symmetric NAT communicate through a TCP socket without VPN (neither relayed nor meshed).

I know that nowadays many applications rely on public STUN servers to this end. This basically enables them to locate their external IPs, establish a first connection, open a way through their NATs, and then exchange data. Such solution unfortunately implies having to compile a new application for each purpose (messenger, telephony, data transfer…), making directly reusing existing applications virtually impossible.

To make it more flexible I would like to know if there is some existing framework in the form of daemons that would accomplish the previous tasks (to initiate communication), and would then for instance redirect the outgoing traffic from a specific port (e.g. FTP client) to a deterministic port on the other machine. If not deterministic at least a port that could be manually configured on the other end (e.g. FTP server).

If such a framework is currently not technically feasible under Linux I would like to know why, and why compiling a STUN enabled application is necessary in this context.

Best,
Sébastien
 
Old 01-18-2016, 01:08 PM   #2
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
I would be interested in ideas of how to traverse a NAT without a third party. It's theoretically impossible, isn't it?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Connection tunneling - NAT traversal/Proxy restrictions Biosko Linux - Networking 3 08-16-2013 06:49 AM
CentOS IPSec Tunnel Mode with NAT-Traversal azrael808 Linux - Security 4 11-23-2012 03:37 PM
[SOLVED] NFSv4 & NAT traversal ggeeoo Linux - Networking 1 09-01-2009 09:13 PM
nat-traversal egarnel Linux - Networking 0 09-02-2004 10:31 AM
Config Nat traversal on Mandrake 9.2 superfreeswan why1957 Mandriva 0 02-16-2004 11:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:37 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration