LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

RE: Totally lost

To: "'lvs-users@xxxxxxxxxxxxxxxxxxxxxx'" <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: RE: Totally lost
From: Marcus Human <marcus_human@xxxxxxxxxxxxxxx>
Date: Thu, 7 Nov 2002 15:50:42 +0200
Hi Bjoern

Thanks for the info so far. Does this mean that eth0 on the outside need to
have the mailserver real IP address, what about the clients on the inside
that use the web, will they be able to use this real ip address to connect
to the internet as well. Currently I use a different real IP for internet
access.

Thanks

Marcus Human
Application Support Engineer
Tel.  +27 12 678 9200
Fax. +27 665 4160
Cell. +27 82 579 5331
marcus_human@xxxxxxxxxxxxxxx



-----Original Message-----
From: Bjoern Metzdorf [mailto:bm@xxxxxxxxxxxxxxxxxxxxxxx] 
Sent: 07 November 2002 03:01
To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: Totally lost


> 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


_______________________________________________
LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx Send
requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://www.in-addr.de/mailman/listinfo/lvs-users


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