From: "Mack" <RAGAN_DAVIS@colstate.edu>
To: netfilter@lists.netfilter.org
Subject: need some help solving problem
Date: Sat, 29 Mar 2003 12:50:09 -0500 [thread overview]
Message-ID: <3E859680.19568.5FA7E8@localhost> (raw)
Hi!
I currently have a rule in my iptables firewall script like this:
iptables -t nat -A PREROUTING -p tcp -s 1.2.3.4 --dport http -j DNAT --to 5.6.7.8:80
This successfully "redirects" a client trying to go to www.somewhere.com and sends
them to a web site on my webserver, and displays the default web page for that web
site. This works fine. However, this happens on every request from the client. Is
there a way to have the prerouting happen only once, and then not happen after
that? I'd like to redirect them to a web page that contains news or important
imformation. Once they've visited this page, I'd like for them to not see it again until
later (if ever). I was looking at the "-m recent" extension, but I'm not sure if this will
work.
Any ideas/suggestions?
many thanks,
mack
next reply other threads:[~2003-03-29 17:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-29 17:50 Mack [this message]
2003-03-29 18:55 ` need some help solving problem Joel Newkirk
2003-03-31 15:22 ` Mack
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=3E859680.19568.5FA7E8@localhost \
--to=ragan_davis@colstate.edu \
--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