Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Noino <mg8c1zu02@sneakemail.com>
To: netfilter@vger.kernel.org
Subject: Re: simple port translation on the localhost / local loopback
Date: Fri, 28 Mar 2008 15:15:41 +0100	[thread overview]
Message-ID: <20080328141541.6BD98B850@sem.mel.teaser.net> (raw)
In-Reply-To: <47ECC9EB.1000308@plouf.fr.eu.org>

Pascal Hambourg wrote : 

> I confirm. On 2.6 kernels < 2.6.11 and 2.4 kernels < 2.4.29 this option 
> must be enabled in order to do local NAT on loopback.

Merci, Pascal; that would explain why I had so little success... 

Stll, is there a way to achieve local port redirection without that option 
set, maybe by combining DNAT, SNAT, REDIRECT in some astute way ? 

Does it make things easier if I arrange for Tor to listen on the IP 
associated with the ethernet adapter rather than localhost ? Or even listen 
on 0.0.0.0 ? 

Regards 

-- 
Noino


  reply	other threads:[~2008-03-28 14:15 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-27 21:16 simple port translation on the localhost / local loopback Noino
2008-03-27 23:17 ` Ryan Kruse
2008-03-28 10:21   ` Noino
2008-03-28 10:35 ` Pascal Hambourg
2008-03-28 14:15   ` Noino [this message]
2008-03-29 15:27     ` Pascal Hambourg

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=20080328141541.6BD98B850@sem.mel.teaser.net \
    --to=mg8c1zu02@sneakemail.com \
    --cc=netfilter@vger.kernel.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