HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   Firewall problem, big problem (http://www.howtoforge.com/forums/showthread.php?t=47381)

007007 16th July 2010 17:48

Firewall problem, big problem
 
Hi,

I spotted a big problem in the firewall ispconfig3, let me explain:

- I installed the server, I installed ispconfig3, I set it up after I enabled the firewall
- I reboot the system, it works
- After I created a client, client's website and FTP
- When I want to connect to FTP client's that does not work, i get this message in flashfxp :

Quote:

SSH-2.0-OpenSSH_5.1p1 Debian-5
QUIT
Protocol mismatch.

(the root shell works)

- I did a reboot, it does not work, the server is down

the server ping internally but not externally. Now the only solution is to restore everything

you know why this problem? any fix for that ? :(

thx

Hans 16th July 2010 18:17

I don't know flashfxp but it seems to be an (s)FTP client. The FTP protocol makes use of port 21, while SSH makes use of port 22.
The error you see probably means that you mix up SSH with FTP.
Please use port 21 for your FTP connections and 22 for SSH.

007007 16th July 2010 18:25

ok thx, it's work ^^

but now i have a big problem :

Quote:

- I did a reboot, it does not work, the server is down

the server ping internally but not externally. Now the only solution is to restore everything
any solution for this ? why this problem ? :(:(

till 16th July 2010 18:32

How is your server coŽnnected to the internet? Do you use a external router?

The ispconfig firewall is for servers that use external routers or are in a datacenter, you can not use the firewall if the server itself uses a software router and is the gateway for other devices on the network as this will cause a conflict in iptables rules.

To fix this if your server is also the network router of your network, simply stop the firewall with its script in /etc/init.d

007007 16th July 2010 19:27

I do not know, I have a dedicated server at ovh.com ^^

I found that causes the problem, do not select "Network Settings" in server config if the firewall is enabled

Now everything works


All times are GMT +2. The time now is 13:26.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.