Tugger the SLUGger!SLUG Mailing List Archives

[SLUG] ipchains


I just installed RH7.1 firewalled. I'm trying to modify what I did and all
I can find is /etc/sysconfig/ipchains. This file deprecates manual
customising (see below). I can't find any other way of doing it. Is there
a tool? I've looked on google, but obviously in the wrong place.

thanks, David.


[root@test sysconfig]# cat ipchains
# Firewall configuration written by lokkit
# Manual customization of this file is not recommended.
# Note: ifup-post will punch the current nameservers through the
#       firewall; such entries will *not* be listed here.
:input ACCEPT
:forward ACCEPT
:output ACCEPT
-A input -s 0/0 -d 0/0 37 -p tcp -y -j ACCEPT
-A input -s 0/0 -d 0/0 80 -p tcp -y -j ACCEPT
-A input -s 0/0 -d 0/0 21 -p tcp -y -j ACCEPT
-A input -s 0/0 -d 0/0 22 -p tcp -y -j ACCEPT
-A input -s 0/0 -d 0/0 -i lo -j ACCEPT
-A input -s 0/0 -d 0/0 -p tcp -y -j REJECT
-A input -s 0/0 -d 0/0 -p udp -j REJECT