LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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

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

Rep: Reputation: 0
Question my rules


hello,

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 127.0.0.1 -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 ftp.films.it
ACCEPT tcp -- ftp.fimls.it anywhere
REJECT all -- anywhere anywhere reject-with icmp-port-unreachable

Chain OUTPUT (policy ACCEPT)
target prot opt source destination


thanks
 
Old 11-03-2003, 03:34 PM   #2
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 199Reputation: 199
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.

http://www.linuxquestions.org/rules.php
 
Old 11-03-2003, 04:55 PM   #3
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,539

Rep: Reputation: 149Reputation: 149
I'm closing this thread. Please post all replies to http://www.linuxquestions.org/questi...hreadid=111916
 
  


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


All times are GMT -5. The time now is 07:20 PM.

Main Menu
Advertisement
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