FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Red Hat Linux

 
 
LinkBack Thread Tools
 
Old 01-26-2010, 12:17 AM
"frankzou"
 
Default *复: iptables question

DEAR ALL
If done this,I think we can use the IPVS only.

-----邮件原件-----
发件人: redhat-list-bounces@redhat.com
[mailto:redhat-list-bounces@redhat.com] 代表 ESGLinux
发送时间: 2010年1月25日 18:39
收件人: General Red Hat Linux discussion list
主题: iptables question

Good morning,

I have a question about a specific usage of iptables. I need to forward the
incoming web trafic to 2 machines. I know how to forward to one, I use this:
iptables -t nat -A PREROUTING -i eth1 -p tcp -m tcp --dport 80 -j DNAT
--to-destination 192.168.1.93:80

What I want to do is this:

MACHINE1 : IP1
MACHINE2 : IP2

all the trafic that comes to IP1 to the web port must go to the self IP1 and
to the IP2 to the web port.

Do you think this is possible ?

thanks in advance,

ESG
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list


__________ NOD32 4772 (20100114) PEO" __________

Ub7bSJ<~RQM(9} NOD32 742!6>O5M3<l2b!#



--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
 

Thread Tools




All times are GMT. The time now is 02:17 AM.

VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org