LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] keepalived: SSH getting "No route to host"

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] keepalived: SSH getting "No route to host"
From: Con Tassios <ct@xxxxxxxxxxx>
Date: Thu, 20 Sep 2007 17:34:39 +1000 (EST)
On Thu, 20 Sep 2007, Gerry Reno wrote:

> I have setup a stanza in keepalived.conf for SSH to use an alternate
> port.  But whenever I try to ssh into the VIP on the alternate port I
> get a "No route to host".  It looks like it gets to the director but it
> never gets to the real server.  I see an immediate inactive connection
> in IPVS.  All firewalls on both directors and real servers are down.
> keepalived is 1.1.13.  All the other IPVS traffic is behaving correctly,
> 80, 8080, 443.

Would you need something like this on the real servers?

iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 33322 -j REDIRECT 
--to-port 22




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