Results 1 to 5 of 5

Thread: FTP Breaks with outbound connection

  1. #1
    Join Date
    Oct 2008
    Beans
    54

    FTP Breaks with outbound connection

    I'm sending files to a remote server by way of FTP via a PHP script. With the firewall turned on these files are getting to the remote server with 0kb and the remote server is timing out before all the files are received. When the firewall is turned off the all files are received in tact. There are no outbound rules set in the iptables, looking for ideas on what to check next. Thanks in advance

  2. #2
    Join Date
    Aug 2010
    Location
    Between Heatsink and CPU
    Beans
    538
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: FTP Breaks with outbound connection

    Looks like a fireall problem to me, check the difference between Passive & Active ftp server...but again, I could be wrong but I'd def start from there.

    ** My Blog
    **

  3. #3
    Join Date
    Oct 2008
    Beans
    54

    Re: FTP Breaks with outbound connection

    Quote Originally Posted by e79 View Post
    Looks like a fireall problem to me, check the difference between Passive & Active ftp server...but again, I could be wrong but I'd def start from there.
    I used "quote pasv" and no joy, but I'm I've read on the Internet that might not work on the sending end.

    Thanks for the reply,

  4. #4
    Join Date
    Oct 2008
    Beans
    54

    Re: FTP Breaks with outbound connection

    Can somebody tell me-- when an outgoing ftp connection is made is it port 21 from the sending server? Reason I ask is although there are no outgoing rules in my iptables, I do have this port closed for an incoming connection. Thanks

  5. #5
    Join Date
    Jun 2011
    Beans
    409
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: FTP Breaks with outbound connection

    depends on your firewall rules - do you use ufw or own rules? As normally you block in a firewall setup everything and only allow the ports which get used.

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
  •