Re: FTP access to Real Servers
SmallFries <[email protected]>
| Newsgroups | gmane.linux.highavailability.ultramonkey |
|---|---|
| Message-ID | <[email protected]> |
so additional to the iptable rules I should add this to my ld config ? On 7/20/06, Terry, Jason <[email protected]> wrote: > > In the file > > /etc/ha.d/ldirectord.cf > > > > Add this line to your virtual service definition > > persistent=300 > > > > > > So it basically looks something like this > > > > virtual=1 > > real=10.10.224.25:0 gate 200 > > real=10.10.226.25:0 gate 500 > > service=ftp > > persistent=300 > > > > > ------------------------------ > > *From:* [email protected] [mailto: > [email protected]] *On Behalf Of *SmallFries > *Sent:* Thursday, July 20, 2006 12:15 PM > *To:* [email protected] > *Subject:* FTP access to Real Servers > > > > Hello All > > I would like to allow ftp access to 2 window boxes that are behind the > Load Balancers. > I tried the following iptable rules > > /sbin/iptables -t nat -A PREROUTING -p tcp -d vip.vip.vip.vip --dport > 3231 -j DNAT --to 192.168.10.201:21 > > /sbin/iptables -t nat -A PREROUTING -p tcp -d vip.vip.vip.vip --dport > 3232 -j DNAT --to 192.168.10.202:21 > > I am able to login, but then it timesout > > any suggestions ?? > >