LinuxQuestions.org
Register a domain and help support LQ
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 10-28-2003, 11:13 PM   #1
chrisfirestar
Member
 
Registered: Sep 2003
Location: Adelaide, Australia
Distribution: Fedora/RH
Posts: 231

Rep: Reputation: 30
Exclamation iptables rules


Hi
Setting up an IP Tables Firewall... the requirements are as follows...

External Blocked on all ports - Internal
Internal Blocked on all ports except essential ones - External

eg 80, 22, 23, 443, 110, 25, 23

This box will not be handling DHCP but probably require masquerading

can someone paste some examples of what I should be typing into the shell? and what my iptables file should look like
 
Old 10-29-2003, 01:36 AM   #2
gundelgauk
Member
 
Registered: Jul 2003
Distribution: Gentoo
Posts: 168

Rep: Reputation: 30
Greetings!


If you do not have much knowledge of iptables, I suggest you take a look into firewall builder. You can make complex configurations with it under a nice gui and it will compile a working iptables script for you. You can use it and/or look into it to see how certain rules are implemented.


Good luck!
 
Old 10-29-2003, 02:30 AM   #3
gundelgauk
Member
 
Registered: Jul 2003
Distribution: Gentoo
Posts: 168

Rep: Reputation: 30
Angry Crossposting

Hmm, I just noticed that you crossposted this one. It's the exact same post in 'Security' and 'Networking'. Pls don't do that anymore, the moderators don't seem to like it.

'Nuff said.
 
  


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
IPTABLES - rules in /etc/sysconfig/iptables The_JinJ Linux - Newbie 6 11-20-2004 01:40 AM
iptables rules Fatz Linux - Security 1 08-05-2004 06:04 AM
IPTables rules dkny01 Linux - Networking 6 10-23-2003 12:52 AM
iptables rules Darin Linux - Security 1 01-23-2003 04:32 PM
iptables rules hazza96 Linux - Security 3 09-09-2001 11:16 AM


All times are GMT -5. The time now is 01:21 AM.

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