Webmaster Forum


Go Back   Webmaster Forum > Web Development > Web Hosting Forum > Dedicated Servers
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Dedicated Servers Dedicated server help.

Ezilon Directory   ClickBooth Network   V7N Directory

Reply
 
LinkBack Thread Tools Display Modes
Old 06-03-2004, 04:10 AM   #1 (permalink)
Inactive
 
Join Date: 06-03-04
Location: South Africa
Posts: 3
iTrader: 0 / 0%
Latest Blog:
None

NetReaper is liked by many
[Linux] Unblock IP Address using iptables

Hello everyone,

I am new to the board and also new to Linux. I am from South Africa, working for 3 years as a Programmer (now I am a Senior Programmer).

We run a dedicated internet linux server at work and I was wondering if someone can help me. I read QT_ post on block IP addresses and it was very usefully but now I want to unblock an IP but I am NOT SURE how....erm ....help please
NetReaper is offline  
Add Post to del.icio.us
Reply With Quote
Sponsored Links
SEO Hosting by HostGator  Advertise Here  Buy Blog Links
Old 06-07-2004, 06:30 AM   #2 (permalink)
Inactive
 
Join Date: 06-03-04
Location: South Africa
Posts: 3
iTrader: 0 / 0%
Latest Blog:
None

NetReaper is liked by many
I figured it out,

iptables -D INPUT -s 25.55.55.55 -j DROP

But I have another problem, I rebooted this morning and I lost all the IP addresses that I have block, can someone help me please???
NetReaper is offline  
Add Post to del.icio.us
Reply With Quote
Old 11-18-2007, 08:54 AM   #3 (permalink)
Inactive
 
Join Date: 11-18-07
Posts: 1
iTrader: 0 / 0%
Latest Blog:
None

aster.dongeorge is liked by many
Hope you can make use of the firewalls than this iptables. Better to make use of csf fire wall.

Here are the things to install a csf firewall and to block a particular IP

1) Log into your server and switch to the root user
2) Switch directories to your download directory
3) Download the latest version of the software: # wget http://www.configserver.com/free/csf.tgz
4) Untar the package: # tar -xzf csf.tgz
5) Switch into the new extracted folder: # cd csf
6) Run the installer: # sh install.sh
7) If you are still running APF and BFD on your server it is necessary to disable those applications: # sh disable_apf_bfd.sh

after this just use the command csf -d <ip that you want to block>
eg: csf -d 127.0.0.0

If you are running WHM you can now configure CSF and LFD from WHM. CSF/LFD comes pre-configured for a cpanel/WHM server and so there is not that much to do after the installation. Log into WHM and inspect the new configuration utility. As an example you can uninstall APF and BFD from here with the click of the button. If you want to manually edit the CSF/LFD configuration you can do so at / etc/csf/*. Make sure to make backups before you make changes as well as using the debug mode to avoid being locked out.

If for whatever reason you need to uninstall CSF and LFD you can do this easily yourself as well. Login to your server via SSH and switch to the root user.

1) Switch to the folder holding the uninstaller: # cd /etc/csf
2) Run the uninstaller: # sh uninstall.sh
aster.dongeorge is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Hosting Forum > Dedicated Servers

Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
IP address Bestmiler SEO Forum 8 02-17-2007 04:07 PM
[Linux] Block IP Address using IPtables QT_ Dedicated Servers 9 06-07-2004 06:36 AM
Linux IPtables renan Dedicated Servers 1 04-09-2004 06:43 AM


Sponsor Links
Get exposure! Get exposure! Find Scripts Web Hosting Directory Get exposure! SEO Blog


All times are GMT -7. The time now is 07:18 PM.
© Copyright 2008 V7 Inc