Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 11-11-2003, 05:33 PM   #1
Registered: Oct 2003
Posts: 37

Rep: Reputation: 15
blocking ports

how do i block ports using the iptables?

Old 11-11-2003, 05:40 PM   #2
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 235Reputation: 235Reputation: 235
Well you should really be more specific in what you want to port but you should also really learn IPTABLES. I'd suggest starting off by reading the sticky thread in Linux - Security that unSpawn has posted called Security References, etc. Has some good links to iptables tutorials, etc.
Old 11-11-2003, 06:41 PM   #3
Registered: Jul 2003
Distribution: OpenSUSE 11.4
Posts: 55
Blog Entries: 1

Rep: Reputation: 16
After a brief play under Mandrake and Gentoo I found shorewall to be quite easy to setup - see - shorewall uses iptables.
Old 11-11-2003, 06:50 PM   #4
Senior Member
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
To learn iptables , take a look at the documentation and tutorials on netfilter / iptables.

You distribution may (or may not) have a GUI utility to configure iptables.
If not, take a look at ipcop and fwbuilder.

Pre-built firewall scripts


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
blocking and allowing ports drumlix18 Linux - Networking 4 11-30-2004 06:36 PM
COMCAST blocking ports? fatman Linux - Networking 1 09-06-2004 04:44 PM
blocking some uneeded ports freelinuxcpp Linux - Networking 4 12-05-2003 12:48 PM
Firewall not blocking ports... bfloeagle Linux - Security 9 05-20-2003 02:53 PM
Blocking ports for a specific IP Shrimpy Linux - Networking 1 12-23-2002 11:48 AM > Forums > Linux Forums > Linux - Software

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