Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 9th February 2010, 08:39
n0fx n0fx is offline
Member
 
Join Date: Apr 2006
Posts: 36
Thanks: 3
Thanked 0 Times in 0 Posts
Default weird problem apache/ssh not responding on WAN

I have ISPconfig 2.0 setup with Debian 5.0 (Lenny) on my server. I have a two network card setup, which one network card is directly connected to the Net, while the second network card is hooked up on my internal lan.

I have this weird issue where the wan interface doesn't respond and crashes. I can't access the apache or ssh. I can access the web and SSH through the local lan interface, but not just the wan part of it. I used to just restart the wan interface and it would fix it but today, I tried to SSH into it via local LAN ip and it disconnects stating, "server unexpectedly closed the network connection." It gives the login prompt, when I enter the username, it hangs for a while then gives me that message.

I noticed in the logs that some people were trying to get it via ftp and SSH, but I installed fail2ban to temporarily ban them.

Does anyone know why my WAN interface keeps dying on me?
Reply With Quote
Sponsored Links
  #2  
Old 9th February 2010, 09:08
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,504
Thanks: 813
Thanked 5,265 Times in 4,129 Posts
Default

Do you have the ispconfig firewall enabled? If yes, please disable it.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 9th February 2010, 09:39
n0fx n0fx is offline
Member
 
Join Date: Apr 2006
Posts: 36
Thanks: 3
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by till View Post
Do you have the ispconfig firewall enabled? If yes, please disable it.
Yes, I turned it on a but then I turned it off and saved the setting. Now it says it's off but it still won't connect on the WAN interface via web. I tried to SSH into the box and it gives the login prompt and now asks for the password but immediately logs me off with the same error message as before. It's gotten farther than before. Do I need to reboot the machine to disable the built-in firewall?
Reply With Quote
  #4  
Old 10th February 2010, 13:29
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

I'd reboot and try to log in with SSH afterwards. If that works, run rkhunter and/or chkrootkit to check if there's any malware on your system.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 11th February 2010, 05:07
n0fx n0fx is offline
Member
 
Join Date: Apr 2006
Posts: 36
Thanks: 3
Thanked 0 Times in 0 Posts
 
Default

Quote:
Originally Posted by falko View Post
I'd reboot and try to log in with SSH afterwards. If that works, run rkhunter and/or chkrootkit to check if there's any malware on your system.
Thanks, I rebooted it and it worked. I ran chkrootkit and rkhunter and they both didn't find anything. I had a few ports that chkrootkit found but it was used by portsentry.

I hope this problem goes away. I already banned quite a few IPs for trying to hammer my SSH and FTP ports.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
postfix problems with smtp linkdeb Server Operation 13 15th March 2014 17:58
Strange email problem for one of my domains... any help appreciated paulrobert_a Installation/Configuration 5 9th August 2010 14:15
sending e-mail using mail() function linuxuser1 HOWTO-Related Questions 38 21st April 2009 12:20
weird problem display £ signs in web pages paulley Server Operation 2 27th June 2006 22:16
Postfix+MySQL Problem jasutton Installation/Configuration 1 15th June 2006 16:06


All times are GMT +2. The time now is 02:27.


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