Re: Virtual server accepting connections on every IP
Quentin Armitage <[email protected]> Mon, 26 Jun 2017 22:15:50 +0100
| Newsgroups | gmane.linux.keepalived.devel |
|---|---|
| Organization | The Armitage family |
| Message-ID | <[email protected]> |
On Thu, 2017-06-22 at 16:22 +0000, Manuel Alberer wrote: > The following is the setup for keepalived. If I connect to the > external IP on Port 3306, I still get routed to the MySQL Server > although its via the IP 10.12.101.20 and not the VIP for MySQL .40. > Could be ftp_conntrack module be the problem? > > IP Virtual Server version 1.2.1 (size=4096) > Prot LocalAddress:Port Scheduler Flags > -> RemoteAddress:Port Forward Weight ActiveConn InActConn > TCP 10.12.101.40:3306 wlc > -> 10.12.101.41:3306 Route 1 0 2960 > -> 10.12.101.42:3306 Route 0 0 0 > TCP XXX.XXX.248.52:21 wrr persistent 360 > -> 10.12.101.10:21 Masq 100 0 0 > -> 10.12.101.20:21 Masq 100 0 0 > TCP XXX.XXX.248.52:80 wrr persistent 600 > -> 10.12.101.10:80 Masq 100 339 12811 > -> 10.12.101.20:80 Masq 100 391 12789 > TCP XXX.XXX.248.52:2210 wrr persistent 360 > -> 10.12.101.10:22 Masq 100 1 0 > TCP XXX.XXX.248.52:2220 wrr persistent 360 > -> 10.12.101.20:22 Masq 100 1 0 > TCP XXX.XXX.248.52:2260 wrr persistent 360 > -> 10.12.101.60:22 Masq 100 0 0 I think if we are going to be able to help with this, rather more information is needed: 1. keepalived configuration 2. output of keepalived -v 3. iptables configuration 4. Output of netstat -anp Quentin Armitage ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Keepalived-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/keepalived-devel