From: "Dharmendra.T" <dharmu@nsecure.net>
To: ads nat <adsnat@yahoo.com>
Cc: netfilter@lists.netfilter.org
Subject: Re: iptables installation problem
Date: 05 Sep 2003 17:57:31 +0530 [thread overview]
Message-ID: <1062764916.1164.16.camel@india.nsecure.net> (raw)
In-Reply-To: <20030905120959.59505.qmail@web20703.mail.yahoo.com>
[-- 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 --]
next prev parent reply other threads:[~2003-09-05 12:27 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-05 11:17 iptables installation problem ads nat
2003-09-05 11:51 ` Dharmendra.T
2003-09-05 12:09 ` ads nat
2003-09-05 12:27 ` Dharmendra.T [this message]
2003-09-05 12:50 ` ads nat
2003-09-05 11:52 ` lartc
-- strict thread matches above, loose matches on Subject: below --
2003-09-11 13:05 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1062764916.1164.16.camel@india.nsecure.net \
--to=dharmu@nsecure.net \
--cc=adsnat@yahoo.com \
--cc=netfilter@lists.netfilter.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.