LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 11-19-2004, 07:09 AM   #1
urukhay
LQ Newbie
 
Registered: Nov 2004
Posts: 3

Rep: Reputation: 0
Security Home


HI ,

I have a question about input e forward because some rules.
I use Internet only in my home and my script have these rules.

iptables -A FORWARD -p tcp --syn -m limit --limit 1/s -j ACCEPT
iptables -A FORWARD -p icmp --icmp-type echo-request -m limit --limit 1/s -j ACCEPT

My pc is not route and not connect a lan, then the rules is :

iptables -A INPUT -p tcp --syn -m limit --limit 1/s -j ACCEPT
iptables -A INPUT -p icmp --icmp-type echo-request -m limit --limit 1/s -j ACCEPT

I do this correcty???

Rodrigo
 
Old 11-21-2004, 09:11 PM   #2
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 69
Yes. The FORWARD chain is used to move non-local packets from one network interface to another on systems that perform network routing tasks. The INPUT chain is used to handle packets that are sent to the system itself (the local machine). So if you have a single computer that isn't acting as a router of firewall for other systems, then you will use the INPUT chain only.

As a note, limiting incoming packets to 1/s is a very small amount and could cause problems if you are expecting more than just a little traffic.
 
  


Reply



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
question about home and ftp security nephish Linux - Networking 10 10-28-2005 12:08 AM
Multi-home Box Security Questions mpapet Linux - Security 1 05-17-2005 07:21 PM
Security of a Home Desktop sudya Linux - Security 2 04-01-2005 02:00 PM
Samba3 Home Shares Security gkhewitt Linux - Networking 5 10-26-2003 08:10 AM
Security & Home Networking citog Linux - Security 5 08-04-2003 10:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 06:21 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
Open Source Consulting | Domain Registration