LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Totally lost

To: <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: Totally lost
From: "Bjoern Metzdorf" <bm@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 7 Nov 2002 14:00:58 +0100
> anymore. Am I on the right track to use LVS and ipvsadm to create a
virtual
> IP(My registerd IP) on the outside so that the rest of the world can see
it.
> This IP(registered) must then be translated with ipvsadm to deliver the
mail
> to my mail server internally with the private address. Any help and
> instructions to do this will be appreciated.

Well, LVS might work for this but is clearly bloat for your means. What you
need is port-forwarding with iptables.

On the firewall do:

iptables -t nat -A PREROUTING -j DNAT -i <external_internet_interface> -p
TCP --dport 25 --to-destination <my_internal_exchange_server>:25

Regards,
Bjoern



<Prev in Thread] Current Thread [Next in Thread>