[prev in list] [next in list] [prev in thread] [next in thread] 

List:       netfilter
Subject:    [IPTABLE] BIG PROBLEM -- help please
From:       "andre" <andreagx () tin ! it>
Date:       2002-01-31 19:48:10
[Download RAW message or body]

Hello, i have a big problem with iptables :(

Then ..
1) my linux box : Redhat 7.2 - ip: 10.0.0.5
2) my backoffice server - ip: 10.0.0.2
3) my computer - ip: 10.0.0.10

I want to redirect all http request from my linux box to my backoffice
server (IIS) ,  in practical if I ask a page web to the linux box (10.0.0.5)
 I want that the server NT with IIS answers.

the commands who I insert are:

echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -t nat -A PREROUTING -i eth0 -p tcp -d 10.0.0.5  --dport 80  -j
DNAT --to 10.0.0.2:80

Unfortunately in this way it does not work and I do not understand like
never.
Please I have need of aid in order to resolve this problem

Thanks in advance.
Andrea



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic