LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 11-10-2004, 08:56 PM   #1
debug019
LQ Newbie
 
Registered: Aug 2004
Distribution: redhat 9
Posts: 20

Rep: Reputation: 0
IPTABLES how to add/edit/delete rules in existing chain?


This the existing chain in my iptable.
How do i add/edit/delete a source/target destination???

I used : iptables -L to view this...

Chain blacklst (4 references)
target prot opt source destination
DROP all -- 209.11.168.128/25 anywhere
DROP all -- 69.89.74.24 anywhere
DROP all -- games1.vip.scd.yahoo.com anywhere
DROP all -- zone.com anywhere
DROP all -- www.emode.com anywhere
DROP all -- www.downelink.com anywhere
DROP all -- 66.102.15.101 anywhere
DROP all -- ev1s-207-44-136-114.ev1servers.net anywhere

Simple question...but it would be really nice to know how to do this..

Thanks....
 
Old 11-11-2004, 02:48 PM   #2
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 47
Are you using a script to start the ruleset or just the /etc/init.d/iptables setup?

If you are using the RH setup, the saved rules are in /etc/sysconfig/iptables

A good tutorial is http://iptables-tutorial.frozentux.n...-tutorial.html
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
iptables: No chain/target/match by that name schatoor Linux - Networking 6 01-04-2009 09:10 PM
iptables chain modification gizza23 Linux - Networking 2 07-10-2005 05:45 AM
Process order of iptables chain rules. mrpc_cambodia Linux - Networking 1 07-14-2004 12:21 AM
How do I make a iptables chain with sudo work ? rhawi Linux - General 5 06-10-2004 06:02 PM
iptables and LD chain spawing? lode Linux - Networking 8 04-21-2004 03:30 AM


All times are GMT -5. The time now is 03:25 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration