All of lore.kernel.org
 help / color / mirror / Atom feed
From: Payal <rpayal@indiainfo.com>
To: netfilter@lists.samba.org
Subject: iptables : masq
Date: Thu, 13 Jun 2002 15:28:27 +0530	[thread overview]
Message-ID: <ae9qdl$trm$2@main.gmane.org> (raw)

Hi,
As I said earlier I am using Mdk Linux 8.2 with kernel 2.4.18. I am trying to 
shift from ipchains to iptables for a simple reson that I cannot connect to 
one particular ftp site where ip_masq_ftp was required in earlier versions of 
kernel. Now this module is no longer available. So, I have to shift to 
iptables since connecting to that site is really imp.
But I am having a problem. I read briefly NAT and iptables HOWTOs and decided 
the rule,
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE

My loaded modules by lsmod include,
ipt_MASQUERADE          1504   5  (autoclean)
iptable_mangle          2336   0  (autoclean) (unused)
iptable_nat            15988   1  (autoclean) [ipt_MASQUERADE]
ip_conntrack           15180   1  (autoclean) [ipt_MASQUERADE iptable_nat]
iptable_filter          1952   0  (autoclean)
ip_tables              11584   6  [ipt_MASQUERADE iptable_mangle iptable_nat 
iptable_filter]

But my problem is that inspite of giving the above command I have,

#iptables --list
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

What is wrong now? Why is'nt my rule listed?
I even have 1 in /proc/sys/net/ipv4/ip_forward.
Please do tell as early as possible or atleast tell me how to get it working 
under ipchains.

Thanks a lot in advance and bye.
-Payal
p.s i have some problems with my present email address, it would be great if 
you can cc the mail to payal99  @  cyberspace.org


             reply	other threads:[~2002-06-13  9:58 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-13  9:58 Payal [this message]
     [not found] <200206131517.01195@.>
2002-06-13 10:20 ` iptables : masq Sathi
2002-06-13 13:25   ` Payal
2002-06-14 10:17 ` Axel Heinrici
2002-06-14 10:26   ` Malcolm Turnbull
2002-06-14 12:02   ` PayalR
2002-06-14 12:02   ` PayalR

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='ae9qdl$trm$2@main.gmane.org' \
    --to=rpayal@indiainfo.com \
    --cc=netfilter@lists.samba.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.