Skip to contentSkip to conversation

iptables installation problem.

DISCUSSION ads nat 3 participants 5 messages Sep 11, 2003

lore
Share & tools
lore

ads nat

author
#0 lore raw

Hi,
I have Linux server REDHAT 8.0 installed with iptables v1.2.6a. I have upgrade it to
v 1.2.8 by installing 1.2.8. But when I check iptables -V. It shows 1.2.6a version. Do i have to delete iptable file before installing 1.2.8? Thanks.

---------------------------------
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software

#1 lore raw
Quoted 6 lines · ads nat

Hi,
I have Linux server REDHAT 8.0 installed with iptables v1.2.6a. I have upgrade it to
v 1.2.8 by installing 1.2.8. But when I check iptables -V. It shows 1.2.6a version. Do i have to delete iptable file before installing 1.2.8?

No, read the INSTALL and README files, especially the bit about LIBDIR, etc.

Quoted 6 lines

Thanks.

______________________________________________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software

Signature · 7 lines
--
Raymond Leach <[email protected]>
Network Support Specialist
http://www.knowledgefactory.co.za
"lynx -source http://www.rchq.co.za/raymondl.asc | gpg --import"
Key fingerprint = 7209 A695 9EE0 E971 A9AD  00EE 8757 EE47 F06F FB28
--
#2 lore raw
In reply to ads nat
Quoted 3 lines · ads nat

Hi,
I have Linux server REDHAT 8.0 installed with iptables v1.2.6a. I have upgrade it to v 1.2.8 by installing 1.2.8. But when I check iptables -V. It shows 1.2.6a version. Do i have to delete iptable file before installing 1.2.8? Thanks.

Did you install a Redhat iptables update by rpm or did you download and build your own? Normally a Redhat rpm automatically restarts a service after it updates it, but if it didn't

/etc/rc.d/init.d/iptables restart

will do the job. If you installed someone else's rpm or built your own binary from source, make sure that your startup script path points to the new version. I'm not aware of any reason you should have to delete the old version, although it's generally good practice to remove any unused software from a firewall box.

Jeff

author
#3 lore raw

I have downloaded from netfilter.org and built. If rpm upgrade is easy please guide me and i will do it. Thanks

Jeffrey Laramie <[email protected]> wrote:

ads nat wrote:
Hi,
I have Linux server REDHAT 8.0 installed with iptables v1.2.6a. I have upgrade it to
v 1.2.8 by installing 1.2.8. But when I check iptables -V. It shows 1.2.6a version. Do i have to delete iptable file before installing 1.2.8?
Thanks.
Did you install a Redhat iptables update by rpm or did you download and build your own? Normally a Redhat rpm automatically restarts a service after it updates it, but if it didn't

/etc/rc.d/init.d/iptables restart

will do the job. If you installed someone else's rpm or built your own binary from source, make sure that your startup script path points to the new version. I'm not aware of any reason you should have to delete the old version, although it's generally good practice to remove any unused software from a firewall box.

Jeff

---------------------------------
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software

#4 lore raw
Quoted 3 lines · ads nat

I have downloaded from netfilter.org and built. If rpm upgrade is easy please guide me and i will do it. Thanks

Redhat makes update RPMs available for all the packages in their distros. You can configure and run "Update Agent" or you can go to their site at http://www.redhat.com/apps/download/ to find them. You can also find the update file tree at a mirror site. This is the one I use:

ftp://mirrors.kernel.org/redhat/redhat/linux/updates/8.0/en/os/i386.

Download the file then run:

rpm -Uvh /yourfilepath/yourfilename

This will update iptables, but it won't change your config files. If the current version isn't running correctly then updating probably won't solve your problem. Hope this helps, Jeff