LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] lvs and iptables?

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] lvs and iptables?
From: Aaron West <aaron@xxxxxxxxxxxxxxxx>
Date: Tue, 10 Oct 2017 09:30:43 +0100
Hi John,

LVS can use iptables but doesn't always...

Basically firewall mark configurations are marked in iptables so will
show in the iptables-save output. LVS will also use conntrack from
iptables if available for NAT mode.

However, for a simple single port virtual service you wouldn't see
anything in iptables-save at all.

Aaron West

Loadbalancer.org Ltd.

www.loadbalancer.org

+1 888 867 9504 / +44 (0)330 380 1064
aaron@xxxxxxxxxxxxxxxx

LEAVE A REVIEW | DEPLOYMENT GUIDES | BLOG


On 10 October 2017 at 02:46, John Wei <johntwei@xxxxxxxxx> wrote:
> Just a beginner question. I thought lvs is implemented using iptables?
> I have configured a VIP with two backend server using NAT (-m option). But,
> I was not able to see my configuration in the output from iptables-save
> command..
> I did see my configuration is correct using ipvsadm command.
>
> Just curious...
>
> John
> _______________________________________________
> Please read the documentation before posting - it's available at:
> http://www.linuxvirtualserver.org/
>
> LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
> Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
> or go to http://lists.graemef.net/mailman/listinfo/lvs-users

_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://lists.graemef.net/mailman/listinfo/lvs-users

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