Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 07-25-2007, 12:49 PM   #1
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

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,

Old 07-25-2007, 01:56 PM   #2
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:

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
Senior Member
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
Have a look at this for how ftp works:

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

Rep: Reputation: 379Reputation: 379Reputation: 379Reputation: 379
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
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.

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


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 > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:45 AM.

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