From: Henrik Martin <henrik@netgate.net>
To: Martijn Lievaart <m@rtij.nl>
Cc: netfilter@lists.netfilter.org
Subject: Re: Yet another local nat/port redirecting question
Date: Wed, 25 Apr 2007 00:07:08 -0700 [thread overview]
Message-ID: <200704250007.10789.henrik@netgate.net> (raw)
In-Reply-To: <462EEC21.5020306@rtij.nl>
On Tuesday 24 April 2007 22:50, Martijn Lievaart wrote:
> The output rule will never be hit, the packet is already redirected by
> the predirect rule. You don't need that second rule.
Ok I figured that was the case, but I had seen it in another example
so I thought I'd try it.
> This should work. It works for me, I use redirects quite frequently. The
> only thing I can think of is that the webserver listens on a specific IP
> and you try to connect to another.
>
> HTH,
> M4
What OS do you run? I'm running OpenSuSE 10.2. I've read a few
postings on the list that claim that some SuSE kernels have problems
with local port forwarding. BTW, I even tried to have it forward to
another host, but it didn't make a difference. I've also tried to
set /proc/sys/net/ipv4/ip_forward to 1, but it has no effect. I've
tried redirecting to ports that are bound via 0.0.0.0, 127.0.0.1, etc,
and it doesn't matter. I simply cannot get it to work and it really
frustrates me. Rgds,
/Henrik
next prev parent reply other threads:[~2007-04-25 7:07 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-25 0:01 Yet another local nat/port redirecting question Henrik Martin
2007-04-25 5:50 ` Martijn Lievaart
2007-04-25 7:07 ` Henrik Martin [this message]
2007-04-26 10:10 ` Gáspár Lajos
2007-04-26 18:49 ` Henrik Martin
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=200704250007.10789.henrik@netgate.net \
--to=henrik@netgate.net \
--cc=m@rtij.nl \
--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.