Re: how can i redirect traffic temporarily to another IP?
From: Tim Haynes (usenet@stirfried.vegetable.org.uk)
Date: 12/28/02
- Next message: sky-diving: "Re: cryptoapi"
- Previous message: Fredderic: "Re: Comparing encrypted passwords"
- In reply to: alex: "how can i redirect traffic temporarily to another IP?"
- Next in thread: alex: "Re: how can i redirect traffic temporarily to another IP?"
- Reply: alex: "Re: how can i redirect traffic temporarily to another IP?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: Tim Haynes <usenet@stirfried.vegetable.org.uk> Date: Sat, 28 Dec 2002 11:57:06 +0000
"alex" <ntnewsNOSPAM@hrz3.hrz.tu-darmstadt.de> writes:
[un-announced redirection of Followup-To ignored due to bad ettiquette]
> i'd like to redirect IP traffic to a different IP for e.g. for a hour...
> therefor i don't like to change all firewall rules. an easy but secure
> way is prefered... the router is a linux box running IP Tables as
> firewall on it... i know there is a iptables redirect feature, but i
> haven't worked on it till now. this webserver having a official IP (for
> e.g. 213.11.22.33) address and i need to redirect to 213.11.22.36. i
> don't like to open a security hole - therefor i will bedder ask how to do
> :-).
The DNAT HOWTO is your fwend(TM). See
<http://www.netfilter.org/documentation/HOWTO//NAT-HOWTO.html> esp section
6.2 for more. Make sure the packets are accepted on the INPUT or FORWARDING
chains as well, btw ;)
~Tim
-- They did a dance called America |piglet@stirfried.vegetable.org.uk They danced it round |http://spodzone.org.uk/ And waited at the turns |
- Next message: sky-diving: "Re: cryptoapi"
- Previous message: Fredderic: "Re: Comparing encrypted passwords"
- In reply to: alex: "how can i redirect traffic temporarily to another IP?"
- Next in thread: alex: "Re: how can i redirect traffic temporarily to another IP?"
- Reply: alex: "Re: how can i redirect traffic temporarily to another IP?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|