netfilter.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ruslan Spivak <alienoid@is.lg.ua>
To: netfilter@lists.netfilter.org
Subject: REDIRECT question
Date: Fri, 11 Jul 2003 14:09:15 +0300	[thread overview]
Message-ID: <3F0E9ADB.7080005@is.lg.ua> (raw)

Hello!

Can you help me with the following:

i try to make REDIRECT on my local host -

$IPTABLES -t nat -N REDIRECT_CHAIN
$IPTABLES -t nat -A REDIRECT_CHAIN -p tcp --dport 80 -j REDIRECT 
--to-port 7080
$IPTABLES -t nat -A PREROUTING -j REDIRECT_CHAIN

When users in my LAN connect to my host's 80 port they are redirected to 
7080 - it's ok. But when i try to do on my host - telnet localhost 80 - 
i get connection refused (looks like redirection doesn't work). What 
maybe the problem?

Best regards,
Ruslan




             reply	other threads:[~2003-07-11 11:09 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-11 11:09 Ruslan Spivak [this message]
  -- strict thread matches above, loose matches on Subject: below --
2014-03-22 13:38 Redirect question Danny
2014-03-22 22:32 ` Nikolai Lusan
2005-03-04 22:59 Redirect Question Gary W. Smith
2005-03-04 23:05 ` Gavin Hamill
2003-07-13 21:55 REDIRECT question George Vieira
     [not found] <Pine.LNX.4.44.0307021216100.16552-100000@localhost>
2003-07-02 13:13 ` Ruslan Spivak
2003-07-02 10:56 Ruslan Spivak
2003-07-02 11:01 ` Chris Wilson
2003-07-02 11:14   ` Ruslan Spivak

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=3F0E9ADB.7080005@is.lg.ua \
    --to=alienoid@is.lg.ua \
    --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;
as well as URLs for NNTP newsgroup(s).