Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


Closed Thread
  Search this Thread
Old 11-03-2003, 02:54 PM   #1
LQ Newbie
Registered: Oct 2003
Posts: 13

Rep: Reputation: 0
Question my rules


These r rules given to the
Kernel by iptables tool, but i would like to convert them into
commands lines, each of them, like for instance:

iptables -A INPUT -s -p tcp -j DROP
can u help me figure out them ?

.................................................................................................... .............
iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
REJECT tcp -- anywhere anywhere tcp dpts:!tcpmux:1024 flags:SYN,RST,ACK/SYN reject-with icmp-port-unreachable

Chain FORWARD (policy ACCEPT)
target prot opt source destination
ACCEPT tcp -- anywhere anywhere tcp dpts:tcpmux:1024
ACCEPT tcp -- anywhere anywhere tcp spts:tcpmux:1024
ACCEPT tcp -- anywhere
ACCEPT tcp -- anywhere
REJECT all -- anywhere anywhere reject-with icmp-port-unreachable

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

Old 11-03-2003, 03:34 PM   #2
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 252Reputation: 252Reputation: 252
Please do not post the same thread in more than one forum. Picking the most relevant forum and posting it once there makes it easier for other members to help you and keeps the discussion all in one place.
Old 11-03-2003, 04:55 PM   #3
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,692

Rep: Reputation: 232Reputation: 232Reputation: 232
I'm closing this thread. Please post all replies to

Closed Thread

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
Slackware 9.1 Rules! :D DuncanM Slackware 6 04-14-2004 05:24 PM
my rules arong Linux - Networking 1 11-03-2003 03:18 PM
This OS rules! Pcghost General 7 03-27-2003 02:11 PM
Rules trickykid LQ Suggestions & Feedback 23 08-05-2002 03:00 AM
Viruses, ipchains, dynamic rules, rules with regular expressions marktaff Linux - Security 2 09-25-2001 05:01 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:09 PM.

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