Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 07-10-2003, 03:11 PM   #1
Registered: Jul 2003
Posts: 88

Rep: Reputation: 15
Question iptables again help

i have these rules in /etc/sysconfig/iptables
-A RH-Lokkit-0-50-INPUT -p tcp -m tcp --syn -j REJECT
-A RH-Lokkit-0-50-INPUT -p udp -m udp -j REJECT
-A RH-Lokkit-0-50-INPUT -j ACCEPT -m mac --mac-source 00:00:E2:42:21:BA -p tcp --dport 110
-A RH-Lokkit-0-50-INPUT -j ACCEPT -m mac --mac-source 00:00:E2:42:21:BA -p udp --dport 110
the first two lines are blocking my mac sources lines
does anyone know what is the problem and suggestion are welcome.....

Last edited by depaul; 07-10-2003 at 03:56 PM.
Old 07-10-2003, 06:15 PM   #2
LQ Veteran
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 416Reputation: 416Reputation: 416Reputation: 416Reputation: 416
Iptables executes its rules in order, so if you move the first two lines to after the second two, the traffic headed for port 110 from that mac address will be accepted.
Old 07-11-2003, 01:08 PM   #3
Registered: Jul 2003
Posts: 88

Original Poster
Rep: Reputation: 15
i tried it ... not working...
Old 07-11-2003, 01:29 PM   #4
Senior Member
Registered: Feb 2003
Location: The Real Washington
Distribution: Debian, Android
Posts: 1,819

Rep: Reputation: 46
Check out the syntax rules at and then rewrite the file. The Redhat lokkit program makes iptables rules harder than they need to be. I would also suggest the book "Redhat Linux Firewalls". It made Iptables make sense and is well worth owning..


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
An error occured getting IPtables status from the command /etc/rc.d/init.d/iptables s CrazyMAzeY Linux - Newbie 10 08-12-2010 06:25 AM
Iptables - Couldn't load target `ACCPET':/lib/iptables/ z00t Linux - Security 3 01-26-2004 03:24 AM
IPtables Log Analyzer from brainlego Linux - Software 0 08-11-2003 07:08 AM
iptables book wich one can you pll recomment to be an iptables expert? linuxownt Linux - General 2 06-26-2003 05:38 PM
My iptables script is /etc/sysconfig/iptables. How do i make this baby execute on boo ForumKid Linux - General 3 01-22-2002 08:36 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:49 AM.

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