Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 10-28-2003, 11:13 PM   #1
Registered: Sep 2003
Location: Adelaide, Australia
Distribution: Fedora/RH
Posts: 231

Rep: Reputation: 30
Exclamation iptables rules

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
Registered: Jul 2003
Distribution: Gentoo
Posts: 168

Rep: Reputation: 30

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
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.


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 > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 11:29 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration