Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Internet Protocol version Six <inet6@mail.be>
To: netfilter@lists.netfilter.org
Subject: Forwarding a port on the LAN
Date: Sun, 6 Jul 2003 06:42:00 +0200 (GMT+02:00)	[thread overview]
Message-ID: <1335069572.1057466520812.JavaMail.Administrator@pumbaa> (raw)

I want to forward a connection to the router (192.168.0.1:1600) to 192.168.0.2:23 which from the Internet works fine, however if I connect from a LAN machine (192.168.0.3) to the router on port 1600 I get a "Connection timed out". I use the following rule:

iptables -I PREROUTING -t nat -p tcp --dport 1600 -j DNAT --to 192.168.0.2:23

I don't see anything wrong with this, or am I forgetting something?

wkg,

-----------------------------------------------------
Mail.be, WebMail and Virtual Office
http://www.mail.be



             reply	other threads:[~2003-07-06  4:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-06  4:42 Internet Protocol version Six [this message]
2003-07-06  6:12 ` Forwarding a port on the LAN Ramin Dousti
  -- strict thread matches above, loose matches on Subject: below --
2003-07-06 22:18 George Vieira

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=1335069572.1057466520812.JavaMail.Administrator@pumbaa \
    --to=inet6@mail.be \
    --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