----- Original Message -----
Sent: Tuesday, December 03, 2002 2:52
PM
Subject: Forward all traffic to another
Public address
Hello All,
I am freaking going crazy and pulling my hair
out. Here is I want to do.
Forward all traffic (smtp, pop3, web,etc) for one
IP address in Server box located in CA to a Server in TX
These boxes are on separate
networks.
Here is what I did
iptables -t nat -A PREROUTING -s 216.x.x.x -d
238.x.x.x -m state --state RELATED,ESTABLISHED -j MASQ
iptables -t nat -A PREROUTING -d 238.x.x.x -j
DNAT --to 216.x.x.x
Can someone please help me as I cannot figure out
what I am doing wrong.
Thank you,
Linux