Computing.Net > Forums > Linux > wher is ip tables

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

wher is ip tables

Reply to Message Icon

Name: roopunix
Date: February 4, 2004 at 03:37:59 Pacific
OS: RedHat 8
CPU/Ram: 128/350
Comment:

i had installed red hat 8
but when i see under /etc/sysconfig
i don't see iptables files what must the problem be??



Sponsored Link
Ads by Google

Response Number 1
Name: 3Dave
Date: February 4, 2004 at 03:49:47 Pacific
Reply:

What kernel version are you running? Being an older version of redhat you may have ipchains instead....


0

Response Number 2
Name: roopunix
Date: February 4, 2004 at 03:55:04 Pacific
Reply:

the kernel is default that comes in RH-8


0

Response Number 3
Name: 3Dave
Date: February 4, 2004 at 04:55:19 Pacific
Reply:

Looking around it appears that redhat 8 shipped with kernel 2.4.18 which should support iptables (FYI kernel 2.0.X=ipfwadm, 2.2.X=ipchains, 2.4.X=iptables)...perhaps you don't have it installed? Try:
# /sbin/iptables
or
# find / -name iptables


0

Response Number 4
Name: C_Legend
Date: February 4, 2004 at 14:13:55 Pacific
Reply:

My guess is, as 3Dave suggests, that it isn't installed.

I'm using Redhat 8, and have the file /etc/sysconfig/iptables:

# 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.
*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
:RH-Lokkit-0-50-INPUT - [0:0]
-A INPUT -j RH-Lokkit-0-50-INPUT
-A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 22 --syn -j ACCEPT
-A RH-Lokkit-0-50-INPUT -p udp -m udp --dport 123 -j ACCEPT
-A RH-Lokkit-0-50-INPUT -i lo -j ACCEPT
-A RH-Lokkit-0-50-INPUT -p udp -m udp -s 162.130.128.97 --sport 53 -d 0/0 -j ACCEPT
-A RH-Lokkit-0-50-INPUT -p udp -m udp -s 162.130.10.9 --sport 53 -d 0/0 -j ACCEPT
-A RH-Lokkit-0-50-INPUT -p tcp -m tcp --syn -j REJECT
-A RH-Lokkit-0-50-INPUT -p udp -m udp -j REJECT
COMMIT

(beware of above lines wrapping)

Enter this at a command prompt to see if you have iptables installed:

# rpm -q iptables

If it returns "package iptables is not installed", then you need to install it (rpm -i).

Good luck.


0

Response Number 5
Name: roopunix
Date: February 4, 2004 at 22:30:59 Pacific
Reply:

in which of the red hat(8) cd has the ip tables.


0

Related Posts

See More



Response Number 6
Name: 3Dave
Date: February 5, 2004 at 01:49:32 Pacific
Reply:

Mount one of the CDs, then:
$ find /mnt/cdrom -name "iptables*.rpm"
If it doesn't come back with a result, unmount it and try with another CD.


0

Response Number 7
Name: secrets
Date: February 7, 2004 at 06:25:21 Pacific
Reply:

instead of that if you boot ur system with rh disk then customize packages to installed and their you find iptables.


0

Sponsored Link
Ads by Google
Reply to Message Icon

RedHat 9 License Question Restricting Access to FTP...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: wher is ip tables

Priorizing Hosts using IP Masq www.computing.net/answers/linux/priorizing-hosts-using-ip-masq/17794.html

REDHAT 7.2, CANT TELNET TO IP ADDRESS www.computing.net/answers/linux/redhat-72-cant-telnet-to-ip-address/9642.html

IP tables? forwarding? chains? www.computing.net/answers/linux/ip-tables-forwarding-chains/6607.html