Philippe Teuwen wrote:
>
>> I added the rule:
>>
>> iptables -t nat -A PREROUTING -i eth0 -d 4.3.2.1 -j DNAT --to 1.2.3.5
>>
> Drop the interface option, internal vserver traffic doesn't come from
> eth0.
>
> iptables -t nat -A PREROUTING -d 4.3.2.1 -j DNAT --to 1.2.3.5
Phil,
This is what I am trying to achieve:
Two vservers 1.2.3.4 and 1.2.3.5. Also an alias IP 4.3.2.1 for the
1.2.3.5 server.
(1) Traffic from external to 4.3.2.1 should go to 1.2.3.5.
(2) Traffic from 1.2.3.4 to 4.3.2.1 should routed out to the default
gateway.
Dropping the interface option stuffs up (2).
Jeff
Received on Fri Aug 31 01:55:16 2007