LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 08-17-2003, 05:46 AM   #1
Angelis
Member
 
Registered: Aug 2003
Location: South Africa
Distribution: Fedora Core 4
Posts: 39

Rep: Reputation: 15
Question Upgrading Firewall (Desktop PC)


I am pretty new to linux and have been playing around with setting up a firewall, this is what i have come up with so far

#!/bin/sh

/sbin/iptables -N BORG
/sbin/iptables -A BORG -m limit --limit 2/s --limit-burst 20 -j LOG
/sbin/iptables -A BORG -j DROP

/sbin/iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
/sbin/iptables -A INPUT -i lo -j ACCEPT
/sbin/iptables -A OUTPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
/sbin/iptables -A INPUT -j BORG

any suggestions on how to close some security holes wll be apreciated..

Thanks
 
Old 08-17-2003, 07:41 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Please see the sticky thread on top of this forum, the 2nd post, under "Netfilter" you'll find some tutorials and examples (esp. the linuxgurus site).
 
Old 08-22-2003, 10:30 AM   #3
Angelis
Member
 
Registered: Aug 2003
Location: South Africa
Distribution: Fedora Core 4
Posts: 39

Original Poster
Rep: Reputation: 15
Thanks for the help!!!
 
  


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
remote desktop to Win2k3 through linux firewall shax Linux - Networking 2 06-08-2012 06:59 AM
Upgrading to Badger! Can't login anymore after upgrading? BellaSha87 Ubuntu 1 12-03-2005 12:09 PM
after upgrading desktop panic robyduck Fedora 0 11-21-2004 10:16 AM
What is the best fedora desktop firewall solution? purplehaze Fedora 6 04-05-2004 06:26 PM
upgrading my KDE desktop digital bots Slackware 3 09-06-2002 09:47 AM

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

All times are GMT -5. The time now is 01:37 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