All of lore.kernel.org
 help / color / mirror / Atom feed
From: ads nat <adsnat@yahoo.com>
To: "Dharmendra.T" <dharmu@nsecure.net>
Cc: netfilter@lists.netfilter.org
Subject: Re: iptables installation problem
Date: Fri, 5 Sep 2003 05:09:59 -0700 (PDT)	[thread overview]
Message-ID: <20030905120959.59505.qmail@web20703.mail.yahoo.com> (raw)
In-Reply-To: <1062762722.1174.5.camel@india.nsecure.net>

[-- 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 --]

  reply	other threads:[~2003-09-05 12:09 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 [this message]
2003-09-05 12:27     ` Dharmendra.T
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=20030905120959.59505.qmail@web20703.mail.yahoo.com \
    --to=adsnat@yahoo.com \
    --cc=dharmu@nsecure.net \
    --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.