SLUG Mailing List Archives
- To: slug@xxxxxxxxxxx
- Subject: [SLUG] ipchains
- From: David <david@xxxxxxxxxxxxx>
- Date: Wed Jul 25 17:35:02 2001
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.
[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.
-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