hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : APF problems
Reply

Forum Jump

APF problems

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old
Web Hosting Master
 
Join Date: Apr 2005
Location: Tinterweb
Posts: 554
Exclamation

APF problems


I have just got an ssh issue sorted 10 minutes ago, now I have a problem with APF.
I decided to install CSF, went ok, disabled apf. Didnít like CSF to much and didnít have time to configure it correctly. So uninstalled csf, now APF is my main firewall, but for some reason it doesnít want to block ports, even though I have only enabled certain ports to be allowed such as 21, 80 etc. Restarted APF, rebooted server.
If anyone has any ideas please let me know.



Sponsored Links
  #2  
Old
Junior Guru
 
Join Date: Aug 2003
Location: Florida
Posts: 181
Any chance you accidentally rebooted to a different kernel without iptables? No change in the APF conf at all since your working pre-CSF install, right?

__________________
Tyler
www.AdminZoom.com
"Server Administration Done Right"

Server setup, hardening, migrations and more

  #3  
Old
Web Hosting Master
 
Join Date: Apr 2005
Location: Tinterweb
Posts: 554
I only rebooted when this issue arisen. IPtables is installed and working.
APF working and configured. Its just not blocking ports for some reason.

Sponsored Links
  #4  
Old
Web Hosting Master
 
Join Date: May 2006
Posts: 652
These are the possibilities i could think of :-

1) Your main IP is on eth1 and you have APF configured for eth0.
2) You have multiple uncommented entries of IG_TCP_CPORTS in apf conf. Only the last entry matters.

Before that, check whether its APF only that controls your firewall. To check that - stop your apf and list your iptables rules ( iptables -L -n ). If you still have non-empty rulesets listed, apf no longer has any control over the firewall. In that case, you will need to dig further

__________________
SparkSupport.Com - The Premier Tech Company
IT Infrastructure Management|Software Development|
Cloud Solutions|Email |VOIP|Streaming
Contact us for a free quote: busdev@sparksupport.com
Phone : 1- 408-335-0493 | Skype : spark.subhish


  #5  
Old
Keep rockin' in the free world
 
Join Date: May 2002
Location: Kingston, Ontario
Posts: 1,573
Yep check your iptables rules and make sure APF is actually loading the ruleset. iptables -L

__________________
Upload Guardian 2 - Malicious Upload Scanner - Windows and Linux!
Instantly scan uploaded files
Get notified when released

  #6  
Old
Web Hosting Master
 
Join Date: Apr 2005
Location: Tinterweb
Posts: 554
When I stop apf, i have an empty rule set, when I start apf the rules are loaded.

  #7  
Old
Web Hosting Master
 
Join Date: Apr 2005
Location: Tinterweb
Posts: 554
Just done an APF re-install, seems to be blocking the correct ports.

Reply

Related posts from TheWhir.com
Title Type Date Posted
Nominet Pilot Program Hopes to Help SMBs Combat Cyber Threats with Support, Advice Web Hosting News 2014-02-07 15:12:39
Windows Azure, Xbox Live Experience Problems as Xbox One Launches Web Hosting News 2013-11-22 13:05:40
NSA Data Center Plagued by Electrical Problems Web Hosting News 2013-10-08 14:12:56
Amazon Web Services Northern Virginia Outage Rocks Instagram, Vine Web Hosting News 2013-08-26 14:33:03
Five Rules for Moving to the Cloud Blog 2013-07-24 09:27:00


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:
WHT Membership
WHT Membership



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?