From: "Antonio Pérez" <antonio.perez02@alu.umh.es>
To: netfilter@lists.netfilter.org
Subject: nat/masquerade with kernel 2.6.x
Date: Sat, 11 Dec 2004 13:45:08 +0100 [thread overview]
Message-ID: <41BAEBD4.8080401@alu.umh.es> (raw)
Hello,
I hava a local network with private directions, and a adsl conection. I
want to do masquerade. Then I do:
echo 1 > /proc/sys/net/ipv4/ip_forward
iptables --table nat --append POSTROUTING --out-interface eth1 -j
MASQUERADE
where eth1 is the interface conected to internet. This work perfectly
with the kernels 2.4.x.
But one week ago I installed the kernel 2.6.8 and when I do :
echo 1 > /proc/sys/net/ipv4/ip_forward
iptables --table nat --append POSTROUTING --out-interface
$ifc_internet -j MASQUERADE
the hosts of the internal network can do ping to internet, and this is
normal, but they can not open any web or conection the msn , they
only can do ping. This is very stranger. I try the kernels
2.6.7,2.6.7,2.6.8 and 2.6.9 and they do no work.
Can somebody help me, please?
Sorry for my bad english.
next reply other threads:[~2004-12-11 12:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-11 12:45 Antonio Pérez [this message]
2004-12-11 13:31 ` nat/masquerade with kernel 2.6.x Andreas Grabner
2004-12-11 14:18 ` Antonio Pérez
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=41BAEBD4.8080401@alu.umh.es \
--to=antonio.perez02@alu.umh.es \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox