LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 07-25-2007, 12:49 PM   #1
brucerowe
LQ Newbie
 
Registered: Jun 2004
Location: California
Distribution: Suse 11.0
Posts: 12

Rep: Reputation: 0
425 - failed to establish connection with vsftp and the firewall on


I have a Suse 10.1 box and turned on the firewall. For ftp service, I am using vsftp. I have ports 20 and 21 open. I am allowing the following services:
HTTP service
Mail server
MySQL remote access
SSH

When the firewall is running, ftp will not work with either Firefox or the Opera browsers. Anyone trying to access the site gets a message, "425 - failed to establish connection."

The interesting part is that WS_ftp works fine. IE works fine.

When I turn off the firewall, the ftp site works fine with all browsers.

Does anyone know what the problem is or how to fix it?

Thanks in advance,

Bruce
 
Old 07-25-2007, 01:56 PM   #2
bakfupai
Member
 
Registered: Apr 2006
Location: Sweden
Distribution: CentOS, RHEL, SourceMage, OpenBSD
Posts: 40

Rep: Reputation: 15
It's likely that this is a problem with passive ports. Take a look here:
http://vsftpd.beasts.org/vsftpd_conf.html

You see there is an option to specify the minimum and maximum port that passive transfers uses. So you can for example specify vsftpd to use port range 40000-40500 and then you can open those ports in the firewall and I'm pretty sure your problem will go away.
 
Old 07-25-2007, 04:05 PM   #3
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
Have a look at this for how ftp works:
http://slacksite.com/other/ftp.html

And how to implement it properly (link found using the search of LQ)
http://kalamazoolinux.org/presentati...conntrack.html
 
Old 07-26-2007, 12:32 PM   #4
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Moved: This thread is more suitable in Linux - Networking and has been moved accordingly to help your thread/question get the exposure it deserves.
 
Old 02-07-2012, 12:28 AM   #5
lynxpawan
LQ Newbie
 
Registered: Jan 2012
Posts: 1

Rep: Reputation: Disabled
425 failed to establish connection

"425 failed to establish connection"

If you facing this error at login. simply add the "default" FTP port (21/TCP) given in system firewall, Apply this and restart Iptables. And here you will get the data access threw port 21.
if you have already added both 20 and 21 ports threw "other ports" tab in system firewall, then also you have to add this default port in firewall.

To see Example open this link.

http://www.flickr.com/photos/pawan20...ream/lightbox/

Last edited by lynxpawan; 02-07-2012 at 12:41 AM. Reason: Not able to add .png images for example purpose.
 
  


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
Still can't establish a pppoe connection Andriy Slackware 17 12-06-2005 07:01 AM
Please help me establish an internect connection AlexBell Linux - Hardware 1 05-23-2005 12:11 PM
425 failed to establish connection for ftp Networking linuxhippy Slackware 4 05-02-2005 03:45 AM
425 Can't open passive connection: Address already in use. SecureTeam Linux - Networking 0 03-30-2004 10:31 AM
cannot establish a connection to my internet Jjurk Linux - Newbie 7 03-05-2004 04:49 AM

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

All times are GMT -5. The time now is 08:31 PM.

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