LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-09-2004, 06:50 PM   #1
hypton
LQ Newbie
 
Registered: Feb 2004
Posts: 2

Rep: Reputation: 0
iptables ban rule


hey if any portscan me or try to connect to not allowed ports
can i make so they will be on a file with exempel

iptables -A INPUT -d "myip" -ip -s "attackersip"-ip -j DROP


so is that possible to make a rule on my rc.firewall?


Thanx for help.
 
Old 03-09-2004, 10:42 PM   #2
pembo13
Member
 
Registered: May 2003
Location: Caribbean
Distribution: Fedora Core2
Posts: 403

Rep: Reputation: 30
If you're refering to logging, iptables has a ruleset for logging. Check out their offical website.
 
  


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
help with iptables rule!! vishamr2000 Linux - Security 6 11-09-2005 05:34 AM
Quick iptables IP address ban? Davus Linux - Networking 2 11-18-2004 08:53 PM
using iptables to ban a subnet? Sm0k3 Linux - Networking 4 01-24-2004 03:25 PM
iptables rule to let samba in phishintrip Linux - Networking 7 10-17-2003 10:25 AM
IPTables Rule... Grim Reaper Linux - Software 8 04-28-2003 12:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:08 AM.

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