Digital Subscriber Line TCP File Transfer behind NAT

Bookmark this page:  YahooMyWeb Yahoo!  Google Google  Windows Live Favorites Windows Live  del.icio.us del.icio.us  digg digg  Add to Netscape Netscape
Subject Author Date
TCP File Transfer behind NAT Saurabh 04-03-08
Posted by Saurabh on April 3, 2008, 6:25 am
Please log in for more thread options
Dear All,

Can anyone tell me, how to write such a program that can transfer
files (either binary or text) behind NAT devices( such as for
computers behind firewalls and routers and other NAT devices) using
TCP socket programming.

I have a mechanism through which the public IP of the router and Port
number will be forwarded to me. But after that I am not sure that
simple TCP/IP socket programming will suffice or I need to do
something more for that.

If you have any article link or article or any example that shows how
the File Transfer can be done for such a case then please help me
regarding this.

Any sought of help or idea will be appreciated from you all.

from-
Saurabh Srivastava

Posted by Robert Redelmeier on April 3, 2008, 8:40 am
Please log in for more thread options
> Can anyone tell me, how to write such a program that can
> transfer files (either binary or text) behind NAT devices(
> such as for computers behind firewalls and routers and
> other NAT devices) using TCP socket programming.

Have a look at `ftp` or `scp` source code (either Linux
or BSD). NAT should be transparent, but you must either
originate inside the NAT zone, or specifically configure the
NAT device to route incoming requests to a particular server.

-- Robert


Similar ThreadsPosted
TCP File Transfer behind NAT April 3, 2008, 6:25 am
HELP: Transfer of DSL Service December 1, 2005, 3:29 am
How to create PcAnywhere CHF File in JAVA March 22, 2007, 3:10 am
Heads Up - SBC Yahoo! DSL Installer CD file wiped out my drive May 1, 2005, 10:26 pm