[H-GEN] Firewall with Red Hat 6.1
Willie Yeo
willie at ssc.qld.edu.au
Wed May 31 06:20:01 EDT 2000
[ Humbug *General* list - semi-serious discussions about Humbug and ]
[ Unix-related topics. Please observe the list's charter. ]
On Wed, 31 May 2000, David Duffy wrote:
> Firstly, thanks to those that pointed me in the right direction
> with sorting file permission problems with my vfat hard drive.
> Now... I've been banging my head against the wall trying to
> figure out how to implement a firewall my Red Hat 6.1 box.
> It's running a proxy (Squid) but I want to be able to block off
> some other ports that aren't mentioned in the "inetd.conf" file.
> Can anyone that knows Red Hat tell me how to do it using
> the "linuxconf" utility? I tried but failed. (I even read heaps!)
> Am I barking up the wrong tree totally? Any ideas please?
Use IPCHAINS in RedHat 6.1. Deny access to ALL ports and then
allow those that you want to come in.
/sbin/ipchains
ipchains -P input DENY
ipchains -A input -p tcp -s 0/0 (port no or range) -j ACCEPT
:----------------------------------------------------------------------:
Willie Yeo |
CNA, BIT-in-progress | : :
IT Manager | This space for hire !
Saint Stephen's College | > VERY CHEAP <
Coomera, Gold Coast, | : :
AUSTRALIA |
--
* This is list (humbug) general handled by majordomo at lists.humbug.org.au .
* Postings to this list are only accepted from subscribed addresses of
* lists 'general' or 'general-post'.
More information about the General
mailing list