All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jason Lunz <lunz@falooley.org>
To: netfilter@lists.netfilter.org
Subject: Re: DNAT, Is it possible to find the original destination?
Date: Mon, 8 Nov 2004 23:09:53 +0000 (UTC)	[thread overview]
Message-ID: <cmouc0$ds2$1@sea.gmane.org> (raw)
In-Reply-To: 1099323026.41865692986d5@email.ixwebhosting.com

lumberjack@lumberjackvillage.com said:
> iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to 8080
>
> Is there any way that my application can look in the table and see the real 
> destination?  I've seen several things in patch-o-matic that do things with 

iirc, doesn't the SO_ORIGDST sockopt (or something like that) tell you
this?

Jason



  parent reply	other threads:[~2004-11-08 23:09 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-01 15:30 DNAT, Is it possible to find the original destination? lumberjack
2004-11-01 16:10 ` Jason Opperisano
2004-11-02  6:11   ` Lumberjack
2004-11-02 13:39     ` Jason Opperisano
2004-11-08 23:09 ` Jason Lunz [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-11-08 23:14 Daniel Chemko

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='cmouc0$ds2$1@sea.gmane.org' \
    --to=lunz@falooley.org \
    --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.