hosted by liquidweb

Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : how config/remove iptables ?

Forum Jump

how config/remove iptables ?

Reply Post New Thread In Hosting Security and Technology Subscription
Send news tip View All Posts Thread Tools Search this Thread Display Modes
Old 09-25-2011, 04:29 AM
mixmox mixmox is offline
I Like Beer!
Join Date: Sep 2008
Location: Sweden
Posts: 1,102

how config/remove iptables ?

our main server go down after ptable start
we have install csf and apf but nothing change also i have add all port we need like 80 and ... to iptable but nothing change and only "service iptables stop" can help us to make server up.

what should i do?
also when i check server concole via kvm this line show on : ip_table : (c) 2000-2006 netfilter core team
then i run service iptable sstop and ebvery thing go right and server going available for users

Sponsored Links
Old 09-25-2011, 04:31 AM
Syslint Syslint is offline
Web Hosting Master
Join Date: Apr 2009
Location: inside wht
Posts: 628
You installed both csf and apf ? That is a bad idea . Please remove all firewall and install only one . CSF is a good iptable firewall script .

Syslint Technologies - Webhosting Support and Outsourced Server Management Services
24x7 Server Management | Outsourced Support | Help Desk Support | Semi Dedicated Team
Web Development Inc - Web Design - Python Development - PHP Development - CMS integration
Call us : (0091) 471-3273-211 , Contact Sales -

Old 09-25-2011, 05:06 AM
ssfred ssfred is offline
Web Hosting Guru
Join Date: Aug 2011
Location: India
Posts: 283
Make sure the server is up through KVM and then ensure that your IP is not blocked by the firewall rules. Please remove all existing installations of firewall applications and then reinstall and configure CSF alone.

Fred Bruner
Business Analyst Bytes of Wisdom @ Work - Where guarantees and promises are made to keep!
24/7 Support with 15 mins response time & no charge guarantees

Sponsored Links
Old 09-25-2011, 05:50 AM
lynxus lynxus is offline
Lord of live chats
Join Date: Jul 2009
Location: UK
Posts: 1,263
Whats the output of the /etc/sysconfig/iptables file?
That is the file that those scripts will mess with..

Essentially for just port 80 & SSH from anywhere to your machine and dropping everything else would look like:

INPUT traffic.
-protocol = tcp
port = 80
new connection

Means that anything already connected is allowed.

-A INPUT -i lo -j ACCEPT
-A INPUT -p tcp -m tcp -m state --dport 80 --state NEW -j ACCEPT
-A INPUT -p tcp -m tcp -m state --dport 22 --state NEW -j ACCEPT

Live chat software ->
Increase Sales Today - 100% No Strings Free Trial

Old 09-25-2011, 09:50 AM
brianoz brianoz is offline
Web Hosting Master
Join Date: Nov 2004
Location: Australia
Posts: 1,514
Also make sure you don't run the iptables service with either CSF or APF - you can only run one of those 3 at once, they all use iptables.


Similar Threads
Thread Thread Starter Forum Replies Last Post
remove iptables !!!! mixmox Hosting Security and Technology 3 06-08-2011 04:10 PM
remove all iptables blocked ips irantrack Hosting Security and Technology 8 03-18-2010 08:56 AM
Flushing iptables/remove rules EastCoast Hosting Security and Technology 2 07-01-2009 07:25 PM
iptables config hostingen Hosting Security and Technology 2 08-27-2005 11:58 PM
iptables Config Question SI-Chris Hosting Security and Technology 5 08-13-2005 07:08 AM

Related posts from
Title Type Date Posted
Revenge Porn Site Owner Faces Multiple Felony Charges Web Hosting News 2013-12-11 13:57:30
DreamHost Launches Managed WordPress Service DreamPress Web Hosting News 2013-06-04 11:44:33
Important changes to WHIR Networking Events Europe schedule Blog 2013-04-15 16:00:16
Fortinet Security Report Highlights Top 6 Threat Predictions for 2013 Web Hosting News 2012-12-14 15:33:07
Peak Hosting Launches Dell R815 Dedicated Server for Large Scale Memory Requirements Web Hosting News 2012-07-13 14:31:31

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
Log in with your username and password

Forgot Password?
Web Hosting News:



Welcome to

Create your username to jump into the discussion! 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?