From: "Tim" <tim-lists@cimx.com>
To: netfilter@lists.samba.org
Subject: problems routing
Date: Mon, 24 Jun 2002 11:43:38 -0400 [thread overview]
Message-ID: <007101c21b95$e87a6e50$5064a8c0@optimus> (raw)
I have a 192.168.100.0 network with my iptables box sitting at
192.168.100.12 and a mailserver at 192.168.100.10 and also with a public ip
and name.
I have several users who are both on the road and work in the office
commonly.
I want to make a rule for them so that when they request mail.cimx.com it
redirects to 192.168.100.10.
I tried to make the following rule:
iptables -t nat -A PREROUTING -p tcp -d $MAIL_IP -j REDIRECT 192.168.100.10
but it seems to not work.
I then changed it to:
iptables -t nat -A PREROUTING -p tcp -d 204.192.102.210 -j LOG
to see the request and I see the request in the logs.
Is there something I am missing?
Thanks in advance.
-- Tim
next reply other threads:[~2002-06-24 15:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-06-24 15:43 Tim [this message]
2002-06-24 15:46 ` problems routing Karl Fischer
2002-06-24 15:59 ` Antony Stone
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='007101c21b95$e87a6e50$5064a8c0@optimus' \
--to=tim-lists@cimx.com \
--cc=netfilter@lists.samba.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.