Results 1 to 2 of 2

Thread: TCP File Transfer behind NAT

  1. #1
    Saurabh
    Guest

    TCP File Transfer behind NAT

    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

  2. #2
    Robert Redelmeier
    Guest

    Re: TCP File Transfer behind NAT

    Saurabh <sendsaurabh@gmail.com> wrote in part:
    > 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 Threads

  1. Cisco and Port Forwarding
    By jstaley in forum Networking Forum
    Replies: 3
    Last Post: 02-25-07, 04:35 PM
  2. Yummy VISTA Home Premium
    By Lobo in forum Broadband Tweaks Help
    Replies: 2
    Last Post: 02-04-07, 03:57 PM
  3. General IP / DNS question
    By Gastopher in forum Networking Forum
    Replies: 2
    Last Post: 07-23-06, 08:18 AM
  4. Help me understand all those open connections...
    By kinkymaster in forum Network Security
    Replies: 20
    Last Post: 02-01-06, 06:02 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •