[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] Ipchains
- Subject: RE: [cobalt-users] Ipchains
- From: "Andy Brown" <andy.brown@xxxxxxxxxxxxx>
- Date: Mon Dec 17 01:09:02 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
> Anyone out there installed ipchains on a raq4 and got it working
>
> If you have can yo let me know the location and version of
> the ipchains rpm you used.
>
> Regards
>
Hi There,
Yes I've installed and got ipchains working no problem, although it was
a struggle as I forgot that this is an older kernel so make sure when
you build your rules they are for the right kernel version.
To install:
rpm -Uvh
ftp://ftp.rpmfind.net/linux/redhat/6.2/en/os/i386/RedHat/RPMS/ipchains-1
.3.9-5.i386.rpm
(After ssh'ing in of course!)
And a sample rule:
/sbin/ipchains -l -I input -d 199.199.199.199 3306 -p tcp -j REJECT
(Obviously change 199.199.199.199 to your ip and 3306 to the destination
port to block)
Simple as that!!
Andy
andy@xxxxxxxxxxxxxxxxxxxxx
http://ineedlinux.info/