* iptables installation problem
@ 2003-09-05 11:17 ads nat
2003-09-05 11:51 ` Dharmendra.T
2003-09-05 11:52 ` lartc
0 siblings, 2 replies; 11+ messages in thread
From: ads nat @ 2003-09-05 11:17 UTC (permalink / raw)
To: netfilter
[-- Attachment #1: Type: text/plain, Size: 895 bytes --]
Hi,
I am trying to install iptables-1.2.8.tar.bz2 on Linux 8.0 server.
I have downloaded iptables-1.2.8.tar.bz2 file from netfilter downloads to /root/iptables-1.2.8 directory.
by using command
"tar -xf iptables-1.2.8.tar"
It has created iptables-1.2.8 directory in which all files are extracted.
I don't know how to go further.
I tried make and make install.
Then when i gave command "/etc/rc.d/rc.local"
it gives following error.
"[root@xyz iptables-1.2.8]# /etc/rc.d/rc.local
SIOCDELRT: No such process
RTNETLINK answers: File exists
SIOCADDRT: File exists
SIOCADDRT: File exists
iptables v1.2.6a: can't initialize iptables table `-nat': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
How to go ahead now?
Thanks
---------------------------------
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
[-- Attachment #2: Type: text/html, Size: 1185 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: iptables installation problem
2003-09-05 11:17 ads nat
@ 2003-09-05 11:51 ` Dharmendra.T
2003-09-05 12:09 ` ads nat
2003-09-05 11:52 ` lartc
1 sibling, 1 reply; 11+ messages in thread
From: Dharmendra.T @ 2003-09-05 11:51 UTC (permalink / raw)
To: ads nat; +Cc: netfilter
[-- Attachment #1: Type: text/plain, Size: 1566 bytes --]
Hi,
On Fri, 2003-09-05 at 16:47, ads nat wrote:
Hi,
I am trying to install iptables-1.2.8.tar.bz2 on Linux 8.0 server.
I have downloaded iptables-1.2.8.tar.bz2 file from netfilter
downloads to /root/iptables-1.2.8 directory.
by using command
"tar -xf iptables-1.2.8.tar"
it has created iptables-1.2.8 directory in which all files are
extracted.
After this you have to compile the iptables.
I don't know how to go further.
I tried make and make install.
Then when i gave command "/etc/rc.d/rc.local"
it gives following error.
Tell me what this file contais. Is this a script which has iptables
rules?
"[root@xyz iptables-1.2.8]# /etc/rc.d/rc.local
SIOCDELRT: No such process
RTNETLINK answers: File exists
SIOCADDRT: File exists
SIOCADDRT: File exists
iptables v1.2.6a: can't initialize iptables table `-nat': Table does
not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
How to go ahead now?
Thanks
____________________________________________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
--
Regards
Dharmendra.T
dharmu@nsecure.net
This message is intended for the addressee only. It may contain
privileged or Confidential information. If you have received this
message in error,please notify the sender and destroy the message
immediately.Unauthorised use or reproduction of this message is strictly
prohibited.
[-- Attachment #2: Type: text/html, Size: 4017 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: iptables installation problem
2003-09-05 11:17 ads nat
2003-09-05 11:51 ` Dharmendra.T
@ 2003-09-05 11:52 ` lartc
1 sibling, 0 replies; 11+ messages in thread
From: lartc @ 2003-09-05 11:52 UTC (permalink / raw)
To: ads nat; +Cc: netfilter-users
Hi,
To save yourself a bit of trouble, you may download the Red Hat rpm for
iptables-1.2.8-8.80.2.i386.rpm
either using up2date, or checking their ftp site.
ciao
charles
On Fri, 2003-09-05 at 13:17, ads nat wrote:
> Hi,
> I am trying to install iptables-1.2.8.tar.bz2 on Linux 8.0 server.
> I have downloaded iptables-1.2.8.tar.bz2 file from netfilter downloads to /root/iptables-1.2.8 directory.
> by using command
> "tar -xf iptables-1.2.8.tar"
> It has created iptables-1.2.8 directory in which all files are extracted.
>
> I don't know how to go further.
> I tried make and make install.
>
> Then when i gave command "/etc/rc.d/rc.local"
> it gives following error.
> "[root@xyz iptables-1.2.8]# /etc/rc.d/rc.local
> SIOCDELRT: No such process
> RTNETLINK answers: File exists
> SIOCADDRT: File exists
> SIOCADDRT: File exists
> iptables v1.2.6a: can't initialize iptables table `-nat': Table does not exist (do you need to insmod?)
> Perhaps iptables or your kernel needs to be upgraded.
>
> How to go ahead now?
>
> Thanks
>
>
>
>
> ---------------------------------
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site design software
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: iptables installation problem
2003-09-05 11:51 ` Dharmendra.T
@ 2003-09-05 12:09 ` ads nat
2003-09-05 12:27 ` Dharmendra.T
0 siblings, 1 reply; 11+ messages in thread
From: ads nat @ 2003-09-05 12:09 UTC (permalink / raw)
To: Dharmendra.T; +Cc: netfilter
[-- Attachment #1: Type: text/plain, Size: 1942 bytes --]
Hi,
It has got following commands :
***
iptables --flush
iptables --table nat --flush
iptables --delete-chain
iptables --table nat --delete-chain
iptables --table nat --append POSTROUTING --out-interface tunnel0 -j MASQUERADE
iptables --append FORWARD --in-interface eth1 -j ACCEPT
iptables -t -nat -A PREROUTING -p TCP --dport 80 -j REDIRECT --to-port 3128
***
Thanks
"Dharmendra.T" <dharmu@nsecure.net> wrote:
Hi,
On Fri, 2003-09-05 at 16:47, ads nat wrote: Hi,
I am trying to install iptables-1.2.8.tar.bz2 on Linux 8.0 server.
I have downloaded iptables-1.2.8.tar.bz2 file from netfilter downloads to /root/iptables-1.2.8 directory.
by using command
"tar -xf iptables-1.2.8.tar"
it has created iptables-1.2.8 directory in which all files are extracted. After this you have to compile the iptables.
I don't know how to go further.
I tried make and make install.
Then when i gave command "/etc/rc.d/rc.local"
it gives following error.
Tell me what this file contais. Is this a script which has iptables rules? "[root@xyz iptables-1.2.8]# /etc/rc.d/rc.local
SIOCDELRT: No such process
RTNETLINK answers: File exists
SIOCADDRT: File exists
SIOCADDRT: File exists
iptables v1.2.6a: can't initialize iptables table `-nat': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
How to go ahead now?
Thanks
---------------------------------
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
-- RegardsDharmendra.Tdharmu@nsecure.netThis message is intended for the addressee only. It may contain privileged or Confidential information. If you have received this message in error,please notify the sender and destroy the message immediately.Unauthorised use or reproduction of this message is strictly prohibited.
---------------------------------
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
[-- Attachment #2: Type: text/html, Size: 4364 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: iptables installation problem
2003-09-05 12:09 ` ads nat
@ 2003-09-05 12:27 ` Dharmendra.T
2003-09-05 12:50 ` ads nat
0 siblings, 1 reply; 11+ messages in thread
From: Dharmendra.T @ 2003-09-05 12:27 UTC (permalink / raw)
To: ads nat; +Cc: netfilter
[-- Attachment #1: Type: text/plain, Size: 3213 bytes --]
On Fri, 2003-09-05 at 17:39, ads nat wrote:
Hi,
It has got following commands :
***
iptables --flush
iptables --table nat --flush
iptables --delete-chain
iptables --table nat --delete-chain
iptables --table nat --append POSTROUTING --out-interface tunnel0 -j
MASQUERADE
iptables --append FORWARD --in-interface eth1 -j ACCEPT
iptables -t -nat -A PREROUTING -p TCP --dport 80 -j REDIRECT
--to-port 3128
This should be
iptables -t nat -A PREROUTING -p TCP --dport 80 -j REDIRECT
--to-port 3128
Make sure that you have removed (-) from -nat above. This is a syntax
error.
Regards
Dharmendra T.
***
Thanks
"Dharmendra.T" <dharmu@nsecure.net> wrote:
Hi,
On Fri, 2003-09-05 at 16:47, ads nat wrote:
Hi,
I am trying to install iptables-1.2.8.tar.bz2 on Linux 8.0
server.
I have downloaded iptables-1.2.8.tar.bz2 file from netfilter
downloads to /root/iptables-1.2.8 directory.
by using command
"tar -xf iptables-1.2.8.tar"
it has created iptables-1.2.8 directory in which all files
are extracted.
After this you have to compile the iptables.
I don't know how to go further.
I tried make and make install.
Then when i gave command "/etc/rc.d/rc.local"
it gives following error.
Tell me what this file contais. Is this a script which has
iptables rules?
"[root@xyz iptables-1.2.8]# /etc/rc.d/rc.local
SIOCDELRT: No such process
RTNETLINK answers: File exists
SIOCADDRT: File exists
SIOCADDRT: File exists
iptables v1.2.6a: can't initialize iptables table `-nat':
Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
How to go ahead now?
Thanks
____________________________________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design
software
--
Regards
Dharmendra.T
dharmu@nsecure.net
This message is intended for the addressee only. It may contain
privileged or Confidential information. If you have received
this message in error,please notify the sender and destroy the
message immediately.Unauthorised use or reproduction of this
message is strictly prohibited.
____________________________________________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
--
Regards
Dharmendra.T
dharmu@nsecure.net
This message is intended for the addressee only. It may contain
privileged or Confidential information. If you have received this
message in error,please notify the sender and destroy the message
immediately.Unauthorised use or reproduction of this message is strictly
prohibited.
[-- Attachment #2: Type: text/html, Size: 8247 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: iptables installation problem
2003-09-05 12:27 ` Dharmendra.T
@ 2003-09-05 12:50 ` ads nat
0 siblings, 0 replies; 11+ messages in thread
From: ads nat @ 2003-09-05 12:50 UTC (permalink / raw)
To: Dharmendra.T; +Cc: netfilter
[-- Attachment #1: Type: text/plain, Size: 2721 bytes --]
Yes that was the error.
It has worked.
Thanks
"Dharmendra.T" <dharmu@nsecure.net> wrote:
On Fri, 2003-09-05 at 17:39, ads nat wrote: Hi,
It has got following commands :
***
iptables --flush
iptables --table nat --flush
iptables --delete-chain
iptables --table nat --delete-chain
iptables --table nat --append POSTROUTING --out-interface tunnel0 -j MASQUERADE
iptables --append FORWARD --in-interface eth1 -j ACCEPT
iptables -t -nat -A PREROUTING -p TCP --dport 80 -j REDIRECT --to-port 3128
This should be iptables -t nat -A PREROUTING -p TCP --dport 80 -j REDIRECT --to-port 3128 Make sure that you have removed (-) from -nat above. This is a syntax error.
Regards
Dharmendra T. ***
Thanks
"Dharmendra.T" <dharmu@nsecure.net> wrote: Hi,
On Fri, 2003-09-05 at 16:47, ads nat wrote: Hi,
I am trying to install iptables-1.2.8.tar.bz2 on Linux 8.0 server.
I have downloaded iptables-1.2.8.tar.bz2 file from netfilter downloads to /root/iptables-1.2.8 directory.
by using command
"tar -xf iptables-1.2.8.tar"
it has created iptables-1.2.8 directory in which all files are extracted. After this you have to compile the iptables.
I don't know how to go further.
I tried make and make install.
Then when i gave command "/etc/rc.d/rc.local"
it gives following error. Tell me what this file contais. Is this a script which has iptables rules? "[root@xyz iptables-1.2.8]# /etc/rc.d/rc.local
SIOCDELRT: No such process
RTNETLINK answers: File exists
SIOCADDRT: File exists
SIOCADDRT: File exists
iptables v1.2.6a: can't initialize iptables table `-nat': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
How to go ahead now?
Thanks
---------------------------------
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
-- RegardsDharmendra.Tdharmu@nsecure.netThis message is intended for the addressee only. It may contain privileged or Confidential information. If you have received this message in error,please notify the sender and destroy the message immediately.Unauthorised use or reproduction of this message is strictly prohibited.
---------------------------------
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
-- RegardsDharmendra.Tdharmu@nsecure.netThis message is intended for the addressee only. It may contain privileged or Confidential information. If you have received this message in error,please notify the sender and destroy the message immediately.Unauthorised use or reproduction of this message is strictly prohibited.
---------------------------------
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
[-- Attachment #2: Type: text/html, Size: 7276 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* iptables installation problem.
@ 2003-09-11 13:05 ads nat
2003-09-11 13:36 ` Ray Leach
2003-09-11 13:38 ` Jeffrey Laramie
0 siblings, 2 replies; 11+ messages in thread
From: ads nat @ 2003-09-11 13:05 UTC (permalink / raw)
To: netfilter
[-- Attachment #1: Type: text/plain, Size: 355 bytes --]
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
[-- Attachment #2: Type: text/html, Size: 463 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: iptables installation problem.
2003-09-11 13:05 iptables installation problem ads nat
@ 2003-09-11 13:36 ` Ray Leach
2003-09-11 13:38 ` Jeffrey Laramie
1 sibling, 0 replies; 11+ messages in thread
From: Ray Leach @ 2003-09-11 13:36 UTC (permalink / raw)
To: Netfilter Mailing List
[-- Attachment #1: Type: text/plain, Size: 816 bytes --]
On Thu, 2003-09-11 at 15:05, 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?
No, read the INSTALL and README files, especially the bit about LIBDIR,
etc.
> Thanks.
>
>
> ______________________________________________________________________
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site design software
--
--
Raymond Leach <raymondl@knowledgefactory.co.za>
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
--
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: iptables installation problem.
2003-09-11 13:05 iptables installation problem ads nat
2003-09-11 13:36 ` Ray Leach
@ 2003-09-11 13:38 ` Jeffrey Laramie
2003-09-11 13:55 ` ads nat
1 sibling, 1 reply; 11+ messages in thread
From: Jeffrey Laramie @ 2003-09-11 13:38 UTC (permalink / raw)
To: ads nat; +Cc: netfilter
[-- Attachment #1: Type: text/plain, Size: 821 bytes --]
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
[-- Attachment #2: Type: text/html, Size: 1235 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: iptables installation problem.
2003-09-11 13:38 ` Jeffrey Laramie
@ 2003-09-11 13:55 ` ads nat
2003-09-11 14:30 ` Jeffrey Laramie
0 siblings, 1 reply; 11+ messages in thread
From: ads nat @ 2003-09-11 13:55 UTC (permalink / raw)
To: Jeffrey Laramie; +Cc: netfilter
[-- Attachment #1: Type: text/plain, Size: 1081 bytes --]
I have downloaded from netfilter.org and built. If rpm upgrade is easy please guide me and i will do it.
Thanks
Jeffrey Laramie <JALaramie@Loudoun-Fairfax.com> 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
[-- Attachment #2: Type: text/html, Size: 1555 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: iptables installation problem.
2003-09-11 13:55 ` ads nat
@ 2003-09-11 14:30 ` Jeffrey Laramie
0 siblings, 0 replies; 11+ messages in thread
From: Jeffrey Laramie @ 2003-09-11 14:30 UTC (permalink / raw)
To: ads nat; +Cc: netfilter
[-- Attachment #1: Type: text/plain, Size: 743 bytes --]
ads nat wrote:
> 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
[-- Attachment #2: Type: text/html, Size: 1355 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2003-09-11 14:30 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-11 13:05 iptables installation problem ads nat
2003-09-11 13:36 ` Ray Leach
2003-09-11 13:38 ` Jeffrey Laramie
2003-09-11 13:55 ` ads nat
2003-09-11 14:30 ` Jeffrey Laramie
-- strict thread matches above, loose matches on Subject: below --
2003-09-05 11:17 ads nat
2003-09-05 11:51 ` Dharmendra.T
2003-09-05 12:09 ` ads nat
2003-09-05 12:27 ` Dharmendra.T
2003-09-05 12:50 ` ads nat
2003-09-05 11:52 ` lartc
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.