[lvs-users] forwarding all ports from VIP to Real Server?

Mark Clarke mark at jumpingbean.co.za
Mon Feb 2 18:01:02 GMT 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 02/02/2015 19:54, Ferenc Wagner wrote:
> Mark Clarke <mark at jumpingbean.co.za> writes:
> 
>> I understand that setting port = 0 on the virtual server setup
>> and leaving port= out of the real server would result in all
>> packets to the VIP being forwarded to the real server?
>> 
>> I am using NAT over GRE tunnels as I can't get the tunneling
>> option to work at all. If I listen on the tunnel I get no packets
>> being forwarded by the director. If I specify a port in the
>> virtual server like "port = 80" then everything works.
> 
> I never tried it, but from man ipvsadm:
> 
> A Port of zero is only valid if the service is persistent as the 
> -p|--persistent option, in which case it is a wild-card port, that
> is connections will be accepted to any port.
> 
> Are you OK in that regard?
> 
Thanks for the reply. Yes, I have persistence setup.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAEBCgAGBQJUz7teAAoJEM+E/JKBmb2Do+AH/0uKMkSStK5vWx6SEQ4S7FzT
snL3k9XzXbpiUsd412dNYyFw7R16DEvbQJAmKK1raeahfLOtYYDfsX8tUaGD0OAV
QMbszwb6GSXG00kO6AZ5TaAFm9dsczufnmE+fHQAh79gog2m0VijRTEOy1hM5v28
7WJCXQgyhYwXqhFTW0GchKfP2p8us2IlZQvODl8PBhY3pHxlIYrHnc1+JP+HlZKh
DPmJ1kYdhg0MJJ6FQLAqDPtmuhqNUZAKmxO/azsViLSnIMYsW+HZRE96n5FkJ0Uz
Iq1GvTrcbY9F/+IonGlEkHIl/n2BYy0h1XBnfopu0jq6NGqIozflVWqIAW0aZXg=
=Lgia
-----END PGP SIGNATURE-----



More information about the lvs-users mailing list