Linux Netfilter discussions
 help / color / mirror / Atom feed
* Netfilter on RH 7.3 (x86)
@ 2002-09-07 15:31 Raj Wurttemberg
  2002-09-07 19:27 ` Raj Wurttemberg
  0 siblings, 1 reply; 2+ messages in thread
From: Raj Wurttemberg @ 2002-09-07 15:31 UTC (permalink / raw)
  To: netfilter


Hello Everyone,

I am new to this mailing list and new to iptables. I have an x86 Linux
system running RedHat 7.3 as my SMTP gateway. The default RedHat install
was using iptables 1.2.5. I have recompiled my kernel (2.4.19) after
applying the latest netfilter "Patch-o-matic" and I have compiled and
installed iptables 1.2.7a.

I am more of a user and could not find any good HOWTO files for this, so
my example below is based completely on trial, error, and learning. :)
Please advise or correct me if I did anything wrong. To get iptables
installed on RedHat 7.3, I had to do several things:

1) Run "chkconfig --list" to verify the run levels for the installed
iptables 1.2.5
2) Copy the "iptables" file from the /etc/init.d to a temporary
directory for safe keeping.
3) Run "rpm -e iptables" to remove the installed iptables 1.2.5
4) Installed the new iptables 1.2.7a (/usr/local/sbin/)
5) Made symbolic links to the iptables files from the /sbin directory
(RedHat default location)
6) Copied the "iptables" file from my temporary directory back to
/etc/init.d directory
7) Run "chkconfig --add iptables" to add the service back into the
RedHat configuration
8) Run "ntsysv" and enabled iptables
9) Rebooted my server. Iptables 1.2.7a started properly

Now my system appears to be configured properly. Here is the output of
"iptables -L"

Chain INPUT (policy ACCEPT)
target     prot opt source               destination
Chain FORWARD (policy ACCEPT)
target     prot opt source               destination
Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

I can see that I have no firewall rules. I also see that the iptables
script in /etc/init.d is looking for a file called
"/etc/sysconfig/iptables". Is this the file that is supposed to contain
the rules? Any help would be appreciated.

Thanks,
/*Raj*/



^ permalink raw reply	[flat|nested] 2+ messages in thread

* RE: Netfilter on RH 7.3 (x86)
  2002-09-07 15:31 Netfilter on RH 7.3 (x86) Raj Wurttemberg
@ 2002-09-07 19:27 ` Raj Wurttemberg
  0 siblings, 0 replies; 2+ messages in thread
From: Raj Wurttemberg @ 2002-09-07 19:27 UTC (permalink / raw)
  To: netfilter

I figured it out...  No help required. 

It's strange that RedHat does not provide this file by default. :(

/*Raj*/

> -----Original Message-----
> From: netfilter-admin@lists.netfilter.org 
> [mailto:netfilter-admin@lists.netfilter.org] On Behalf Of Raj 
> Wurttemberg
> Sent: Saturday, September 07, 2002 11:32 AM
> To: netfilter@lists.netfilter.org
> Subject: Netfilter on RH 7.3 (x86)
> 
> 
> 
> Hello Everyone,
> 
> I am new to this mailing list and new to iptables. I have an 
> x86 Linux system running RedHat 7.3 as my SMTP gateway. The 
> default RedHat install was using iptables 1.2.5. I have 
> recompiled my kernel (2.4.19) after applying the latest 
> netfilter "Patch-o-matic" and I have compiled and installed 
> iptables 1.2.7a.
> 
> I am more of a user and could not find any good HOWTO files 
> for this, so my example below is based completely on trial, 
> error, and learning. :) Please advise or correct me if I did 
> anything wrong. To get iptables installed on RedHat 7.3, I 
> had to do several things:
> 
> 1) Run "chkconfig --list" to verify the run levels for the 
> installed iptables 1.2.5
> 2) Copy the "iptables" file from the /etc/init.d to a 
> temporary directory for safe keeping.
> 3) Run "rpm -e iptables" to remove the installed iptables 1.2.5
> 4) Installed the new iptables 1.2.7a (/usr/local/sbin/)
> 5) Made symbolic links to the iptables files from the /sbin 
> directory (RedHat default location)
> 6) Copied the "iptables" file from my temporary directory 
> back to /etc/init.d directory
> 7) Run "chkconfig --add iptables" to add the service back 
> into the RedHat configuration
> 8) Run "ntsysv" and enabled iptables
> 9) Rebooted my server. Iptables 1.2.7a started properly
> 
> Now my system appears to be configured properly. Here is the 
> output of "iptables -L"
> 
> Chain INPUT (policy ACCEPT)
> target     prot opt source               destination
> Chain FORWARD (policy ACCEPT)
> target     prot opt source               destination
> Chain OUTPUT (policy ACCEPT)
> target     prot opt source               destination
> 
> I can see that I have no firewall rules. I also see that the 
> iptables script in /etc/init.d is looking for a file called 
> "/etc/sysconfig/iptables". Is this the file that is supposed 
> to contain the rules? Any help would be appreciated.
> 
> Thanks,
> /*Raj*/
> 



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-09-07 19:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-07 15:31 Netfilter on RH 7.3 (x86) Raj Wurttemberg
2002-09-07 19:27 ` Raj Wurttemberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox