Re: [vserver] Loopback issues

From: Jeff Williams <jeffw_at_globaldial.com>
Date: Fri 31 Aug 2007 - 01:55:03 BST
Message-ID: <46D766E7.1040805@globaldial.com>

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

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Fri 31 Aug 2007 - 01:55:21 BST by hypermail 2.1.8